U++ framework
Do not panic. Ask here before giving up.

Home » Developing U++ » Releasing U++ » Makefiles warning!
Re: Makefiles warning! [message #25143 is a reply to message #25141] Fri, 12 February 2010 13:26 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1796
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

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? Smile

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 Smile So now you can change the compiler without editing anything, just invoke make with variable in option:
make CC=g++-4.1
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
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Mac OS X porting
Next Topic: Final release
Goto Forum:
  


Current Time: Mon Sep 21 11:52:58 GMT+2 2026

Total time taken to generate the page: 0.00760 seconds