Ender
06-10-03, 06:05 PM
Some one told me that I can compile a c++ program on Linux with bcc or something like that. Can anyone tell me how to run the thing??
|
|
View Full Version : compiling a C++ program on Linux Ender 06-10-03, 06:05 PM Some one told me that I can compile a c++ program on Linux with bcc or something like that. Can anyone tell me how to run the thing?? AntonK 06-10-03, 06:18 PM Well, you can use bcc (Borland I assume you mean). But it's probably smarter to use GCC (GNU C Compiler). If it is c++, you actually want to use G++. These are found in almost every Linux Distroy. If it is a simple C++ program you can just type: g++ -o mynewexecutable mysource.cpp It's not that hard. But if it is a major program you should probably use a make file. -AntonK Ender 06-10-03, 06:49 PM Makes sence! Thanks |