Sunday, February 19, 2012

Batch File and Linux Script - Final Version

Here are the contents of the final batch (*.bat) and linux script file for compiling my source codes.


Batch File:
 @echo off   
 echo Compiling and linking C++ source code,
 echo and preparing the executable for debugging...
 g++.exe -Wall -g -o executable SourceCode.cpp    
 echo Done  


Linux Script:
 echo "Compiling and linking C++ source code,"   
 echo "and preparing the executable for debugging..."   
 g++ -Wall -g -o executable SourceCode.cpp    
 echo "Done"


PS: I really like their similarities. They are almost the same!
PPS: I got to remember to look for a debugger for the Windows OS later.

No comments:

Post a Comment