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

Home » Developing U++ » Mac OS » fix TheIde [DOWNLOAD] build flag options in GccBuilder for OSX11 and Cocoa
Re: fix TheIde [DOWNLOAD] build flag options in GccBuilder for OSX11 and Cocoa [message #31011 is a reply to message #31009] Tue, 01 February 2011 02:07 Go to previous messageGo to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
dolik.rce wrote on Mon, 31 January 2011 21:44

Hi Aris,

Wouldn't "gcc -mmacosx-version-min=10.6" work the same as setting the environment variable? Quick googling suggest that it has the same or very similar results. Note that the option must be added both for compiling and linking.

Honza

PS: The linking option must be spelt as "-Wl,macosx_version_min=10.6"


thanks for the research. I copied setenv from xcode building output.

if I understand correctly, you must switch to existing SDK libs also to tell them the minimum version. e.g
-mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.6.sdk/ -arch i386 ppc. Or maybe I am wrong.

It looks like the following works instead of setenv. But maybe because the env was set before.
-isysroot /Developer/SDKs/MacOSX10.6.sdk/

if I put it into "optimize for speed" field... Twisted Evil

I think we need at least 1 more field "user flags"...
On the other hand, I would like to be able just insert setenv (as script? or as params?) once accordingly.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Mac OS X port architecture
Next Topic: Upp Core compiles natively on Xcode (download Core.xcodeproj)
Goto Forum:
  


Current Time: Sun Apr 26 16:40:49 GMT+2 2026

Total time taken to generate the page: 0.00906 seconds