Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
C++ programming in linux
Name: MIKE Date: November 9, 2002 at 15:38:33 Pacific OS: LYCORIS LINUX CPU/Ram: 256.1.5GH
Comment:
HELLO ROOM. I NEED SOME HELP HERE. I JUST INSTALLED LYCORIS LINUX AND I AM VERY NEW TO LINUX. I NEED TO KNOW HOW TO PROGRAM IN c++ AND WHAT COMPILER TO USE. HOW DO I ACCES THE BUILT IN COMPILER IN LINUX?SHOULD I GET AN OUTSIDE COMPILER? PLEASSE HELP... THANKS ALOT TO YOU ALL.
Name: Don Arnett Date: November 9, 2002 at 15:56:02 Pacific
Reply:
Whatcha SHOUTING for???
When you installed, if you used the default installation or told it to install the 'development' packages, you probably have the GNU compilers.
gcc is for C and g++ is for C++
If you are used to compiling on UNIX systems, then gcc and g++ should work pretty much the same.
I would expect that you can do "man g++" to see some documentation.
0
Response Number 2
Name: MIKE Date: November 9, 2002 at 16:30:48 Pacific
Reply:
Ive tried to invoke the g++ compiler in lycoris linux but nothing happens it says command not found im not even sure if its install
0
Response Number 3
Name: Jeff J Date: November 9, 2002 at 17:08:27 Pacific
Reply:
I am not familiar with the Lycoris/Redmond distro, but if you cannot invoke gcc or 'locate gcc', then it seems likely the gnu stuff was not installed. If Lycoris is rpm or deb based, try invoking the relevant utility and add the development packages.
0
Response Number 4
Name: ZLY Date: November 12, 2002 at 06:22:44 Pacific
Reply:
Greetings
As Don said g++ will work just fine, but if you like working in GUI enviroment I suggest you should try KDevelop, comes with most of linux distros, or Kylix which is Borland's C++ Builder for linux. Need to try it soon.
Summary: Hello everyone!! OK...I was wondering one day, is there any way to make C# programs work in Linux or DOS?? I tried doing a search for Linux, and I found a program called "Mono" that lets u run C# prog...
Summary: Hello everyone. i have a little problem. im running linux with windows and im trying to compile some code in linux with g++. when i compile the files i get a .o file then when i try to run that i get...