2009: macosx, autotools, build on leopard for tiger
2009: macosx, autotools, build on leopard for tiger
- Subject: 2009: macosx, autotools, build on leopard for tiger
- From: Tim Lee <email@hidden>
- Date: Tue, 3 Feb 2009 10:23:42 -0500
- Sensitivity: Normal
Hello all!
I'm new to these lists (cross-referenced between xcode-users and unix-porting)!
Well, it's 2009 and there is still a large amount of debate on what the proper settings of environment variables are for porting unix programs to macosx. To be more specific, porting apps AND supporting tiger while building on leopard.
Some of my questions:
What environment variables need to be set?
I see a lot of debate between -mmacosx-version-min and MACOSX_DEPLOYMENT_TARGET. Is MACOSX_DEPLOYMENT_TARGET depcracated? So - whats the secret here?
How up to date is the "Porting UNIX/Linux Applications" manual (http://developer.apple.com/documentation/Porting/Conceptual/PortingUnix/compiling/chapter_4_section_3.html#//apple_ref/doc/uid/TP40002850-BAJCFEBA)?
It looks like my gcc (leopard: gcc 4.0.1) is still needing to pass the args to ld through the -Wl,-syslibroot... way. Is this correct?
What are the proper CFLAGS args?
What are the proper LDFLAGS args?
And what about things like CXXFLAGS and CPPFLAGS.
Finally, how does autoconf fit in? Attempting to build Macports-1.7.0 without MACOSX_DEPLOYMENT_TARGET set (and trying to support tiger) I received a "ld: library not found for -lcrt1.10.5.o" message.
Any help offered would be great!
Thanks
-Tim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden