| | |
Compile C code in Linux
![]() |
•
•
•
•
Hey andor thank you - I've been recompiling my code in gcc so I may use the programs in Linux now, thanx again
If I may ask, do I use the same process to compile cpp code? Please don't say "RTFM!" It is a bit complicated - I'm new to this Linux Programming thing
Last edited by andor; Sep 5th, 2006 at 8:40 am.
If you want to win, you must not loose (Alan Ford)
If you're going to get serious about programming, you may want to get an Integrated Development Enviroment, or IDE. It's a program that allows you to visually manage your source code files, which is especially useful when working with large projects that may have more than one code module. It's also easier than invoking the gcc (or g++) command each time.
Maybe this list is to complex
If so, I recommend KDevelop or Anjuta.
Maybe this list is to complex
If so, I recommend KDevelop or Anjuta.
"Technological progress is like an axe in the hands of a pathological criminal."
"One of the methods used by statists to destroy capitalism consists in establishing controls that tie a given industry hand and foot, making it unable to solve its problems, then declaring that freedom has failed and stronger controls are necessary." --Ayn Rand
•
•
•
•
No. Istead of gcc type g++. Of course the file name is cpp instead of c.
Last edited by Dave Sinkula; Sep 6th, 2006 at 9:27 pm.
"One of the methods used by statists to destroy capitalism consists in establishing controls that tie a given industry hand and foot, making it unable to solve its problems, then declaring that freedom has failed and stronger controls are necessary." --Ayn Rand
I think it's Automake and Autoconf that generate makefiles/configuration scripts that you can use to bundle with the program if you're planning to distribute it to ease the compilation process on other computers. Again, an IDE does all this for you.
"Technological progress is like an axe in the hands of a pathological criminal."
![]() |
Similar Threads
- Cant compile on Linux (IT Professionals' Lounge)
Other Threads in the C++ Forum
- Previous Thread: string to double
- Next Thread: Get MAC ADDRESS from VC++ or c language
| Thread Tools | Search this Thread |
anyfile api array based binary bitmap c++ c/c++ char class classes code coding compile console conversion count delete deploy desktop developer directshow dll download draw dynamic dynamiccharacterarray email encryption error file forms fstream function functions game gdi+ givemetehcodez gnu graph gui homeworkhelp homeworkhelper http iamthwee ibm ifstream input int integer java lib linkedlist linker loop looping loops map math matrix memory multiple news node number numbertoword output packing parameter pointer problem program programming project python random read recursion reference rpg string strings temperature template test text text-file tree url variable vector video visualc++ visualizationtoolkit win32 windows winsock word wordfrequency wxwidgets







