View Full Version : C++ Compiler?
asddf
April 15th, 2010, 11:59 AM
I'm currently doing C++ on windows in Visual Studio, but could someone recommend a good Linux compiler?
Mordred
April 15th, 2010, 12:05 PM
Hi,
gcc (g++) should do the compiling trick.
You typically would want to install build-essential since
this includes some other stuff you will need.
$sudo apt-get build-essential
If you also need an IDE you could have a look at elipse, code::blocks, ...
Have a look in one of the many 'which IDE should I use' threads
here on the forum.
UBJim
April 15th, 2010, 02:07 PM
Also install Eclipse CDT after the build tools.
eclipse-cpp-galileo-SR2-linux-gtk.tar.gz
- You will also need to install the Java runtime.
This will give an set up where you can compile and run in a gui.
Linuxforall
April 15th, 2010, 02:14 PM
Anjuta, Eclipse.
azagaros
April 15th, 2010, 08:14 PM
gcc would be the compiler suite on linux distributions.
I personally would recommend Codelite for the IDE. Netbeans and Eclipse may need more to set up.
History500
April 16th, 2010, 12:10 AM
gcc /path/to/file.cpp
Should work.
But you can also get GUI based compilers if you want more in-depth IDE like interfaces and what not.
CptPicard
April 16th, 2010, 12:23 AM
It won't work. "g++" is the C++ compiler. "gcc" is the C compiler. GCC is the name of the collection of compilers.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.