Saving gcc output files to new directory
I'm running "g++ -fprofile-arcs -ftest-coverage /root/temp/wizard.cpp"
How do I redirect all the files it creates (e.g. the object file, etc) into a differennt folder (other than the current one - /root/temp). Say, for example, how do I get it to save the files in /root/temp1 |
add
-o /root/temp1/executable_name |
thanks man
|
slight problem, all i'm getting is the executable in the folder i specify, as opposed to all the other files (object files).....how do i change that as well?
|
All times are GMT -5. The time now is 02:41 AM. |