| | |
Compile C code in Linux
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
•
•
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 |
api array based beginner binary bitmap c++ c/c++ calculator char char* class code coding compile compiler console conversion count database delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int java lib linkedlist linker list loop looping loops map math memory multiple news node number numbertoword output parameter pointer problem program programming project python random read recursion recursive reference rpg sorting string strings temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets







