PDA

View Full Version : Good Compilers


tcoffeep
July 8th, 2007, 09:17 PM
Hey all,
I'm currently trying to learn C, and I don't know where to find a good compiler, any pointers?

lisati
July 8th, 2007, 09:32 PM
Ubuntu comes with GCC, which works from the command line.

Wybiral
July 8th, 2007, 09:35 PM
Actually, you need to install build-essential to get all the GCC C dev files...


sudo apt-get install build-essential


And then you can program C with just a text editor and a command line (using "gcc my_program.c")

For an editor, I prefer GEdit (comes with ubuntu) because it's light, has tabs, and has syntax highliting.