• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
2009: macosx, autotools, build on leopard for tiger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: 2009: macosx, autotools, build on leopard for tiger
      • From: David Springer <email@hidden>
  • Prev by Date: Re: XCode built project crash related to .o files and p_threads?
  • Next by Date: Re: 2009: macosx, autotools, build on leopard for tiger
  • Previous by thread: Re: XCode built project crash related to .o files and p_threads?
  • Next by thread: Re: 2009: macosx, autotools, build on leopard for tiger
  • Index(es):
    • Date
    • Thread