Home » Developing U++ » Releasing U++ » Makefiles warning!
Re: Makefiles warning! [message #25143 is a reply to message #25141] |
Fri, 12 February 2010 13:26 |
|
mr_ped wrote on Fri, 12 February 2010 12:20 | When you are on it, can you make compiler name a variable, so I can switch from g++ to g++-4.1 by editing single line?
I think right now it's spread over 2 places (1x compiling, 1x linking final binary).
|
Hi Ped,
No problem, it is in svn now. I was actually thinking about it too, just a few days ago So now you can change the compiler without editing anything, just invoke make with variable in option:Default is CC=c++.
Also, probably not very useful feature, but just in case someone wants to use it: If you want to use different program for linking, you can use LINKER variable. Default is LINKER=CC.
Best regards,
Honza
|
|
|
Goto Forum:
Current Time: Fri Apr 19 10:41:18 CEST 2024
Total time taken to generate the page: 0.03889 seconds
|