Computer Science Canada

What is GCC..

Author:  1337_brad [ Fri Feb 04, 2005 7:09 pm ]
Post subject:  What is GCC..

Well I know 'GCC' is a compiler, but where can I download it and such, and is it simple to use? =)

Author:  wtd [ Fri Feb 04, 2005 7:21 pm ]
Post subject: 

If you're using Windows, I'd suggest the MinGW version.

http://www.mingw.org

Note: GCC is the GNU Compiler Collection. "gcc" is a compiler within that collection which compiles C source code. "g++" compiles C++. "gcj" compiles Java (not terribly complete at this time). "gnat" compiles Ada.

Author:  1337_brad [ Fri Feb 04, 2005 7:30 pm ]
Post subject:  Visual G++..

So Visual G++ is what I am looking for to compile C++ ? 'A lightweight portable C/C++ IDE'

Author:  1337_brad [ Fri Feb 04, 2005 7:31 pm ]
Post subject:  Wait...

I download GCC and G++ is in there, right? ... Erm I am being a n00b today, could you give me a direct link to the actual download page? D:

Author:  wtd [ Fri Feb 04, 2005 7:49 pm ]
Post subject: 

Being a newbie I strongly recommend that you not use an IDE. It's easier to learn the language that way.

http://prdownloads.sf.net/mingw/MinGW-3.1.0-1.exe?download

Now, just acquaint yourself with the Windows command-line so you can "cd" to the directory (folder) your source files are in, and compiling a file is as easy as:

code:
g++ hello_world.cpp -o hello_world.exe

Author:  cimnik029 [ Wed Mar 30, 2005 8:25 pm ]
Post subject: 

Bloodshed's Dev-C++ IDE is free and for the Mingw compiler (comes with in the installer). Its a nice tool, but I traded it off the Visual Studio 2003 and the 2005 beta because i coul'd get the code completion to work

http://www.bloodshed.net/dev/

Author:  OMouse [ Wed Apr 06, 2005 6:30 pm ]
Post subject: 

One word. Cygwin. I use gcc on it to compile all my c/c++ code and it's a little linuxy for me. It's closer than DOS.

Cygwin + GCC + Notepad++ makes for good coding.

-OMouse

Author:  wtd [ Wed Apr 06, 2005 6:41 pm ]
Post subject: 

OMouse wrote:
One word. Cygwin. I use gcc on it to compile all my c/c++ code and it's a little linuxy for me. It's closer than DOS.

Cygwin + GCC + Notepad++ makes for good coding.


MinGW gets you the same ease for coding, and compiles without need for the Cygwin DLL.

Author:  betaflye [ Thu Apr 28, 2005 9:38 pm ]
Post subject: 

GCC is either the C compiler or the Gnu Compiler Collection. A collection of compilers for a bunch of languages such as C, C++, Forton, Objective-C, Java, and Ada.

http://gcc.gnu.org


: