Home

The Tools Menu




The output from the compilers will come up in a tab in the editor so you can scroll through the error messages.

"Compile C++ and make executable" -- this is the command :

"g++ -Wall -pedantic -ansi -g -o MyFile MyFile.cpp"

This will link and create an executable out of the single source file

This is not appropriate for a multi file project of course.

"Compile C++ and only make Object files" -- This will allow you to debug your file and make it into a MyFile.o Object file suitable for later linking. This is the command:

"g++ -c -Wall -pedantic -ansi -g MyFile.cpp".

To link Object files you type:
"g++ -Wall -o MyProject file1.o file2.o file3.o "
at the command line.

This can help you get started if you are a beginner. It goes without saying there is no need for the editor to run the more powerfull C++ compile tools. "progen","tmake","make"...and like that.