View Full Version : Ubuntu C compiler
Flying Mullet
04-15-2009, 01:36 PM
Any suggestions?
rubah
04-15-2009, 03:13 PM
uhhh, gcc?
Shoeberto
04-15-2009, 07:11 PM
GCC is pretty much what you'll want to use.
Ubuntu's weird about it though. You have to install the build-essential package to compile with it, but that's as simple as
sudo apt-get install build-essential
From there, basically any IDE you install through apt will be able to run with it. I imagine you have experience with Eclipse, which is better than the other IDEs I've messed with on Linux. The default package for it in Ubuntu comes with all of the C/C++ stuff built in so all you have to do is install it in apt and you should be good to go.
Flying Mullet
04-15-2009, 07:36 PM
I found a compiler it came with, accessed with "cc" in the command line. This should be good enough for now. I have some basic system calls OS programs I have to write, so it shouldn't be anything too complicated for a text editor to handle.
Cc works fine for most stuff, but I'd recommend getting into the habit of using gcc anyway. It supports a wider range of languages and options (-Wall as a C flag for example), while still being able to compile anything cc will. :p
Samuraid
04-16-2009, 06:07 AM
gcc is about as good as it gets (for free at least) :p
Powered by vBulletin® Version 4.2.3 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.