• 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
Re: Building libcurl with Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building libcurl with Xcode


  • Subject: Re: Building libcurl with Xcode
  • From: Jerry <email@hidden>
  • Date: Tue, 15 Apr 2008 08:17:42 +0100


On 15 Apr 2008, at 06:54, David Dunham wrote:

On 4 Apr 2008, at 00:51, Jerry wrote:

Has anyone made an Xcode project for libcurl?

I do it by creating a Makefile which does the right stuff and using and external Xcode target. For safety with autoconf stuff, you need to build it twice, once for each architecture and then lipo the results together because of the dreaded config.h. I use these commands:

This is really helpful, but it's still building under Leopard and so I get


Undefined symbols:
"_open$UNIX2003", referenced from:
    _file_connect in libcurl-universal.a(file.o)
    _file_upload in libcurl-universal.a(file.o)
etc.

And my attempt to add −mmacosx-version-min=10.4 broke lipo.

It's been a long time since I compiled all our thirdparty libraries for Leopard, and I think my mind has wiped the knowledge of the pain to preserve my sanity (try building the libgeotiff/libtiff combination!), but I seem to remember that doing the -isysroot $sysroot/SDKs/MacOSX10.4u.sdk thing works for libcurl. We don't seem to have it our build though.


Jerry

_______________________________________________
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


References: 
 >Building libcurl with Xcode (From: David Dunham <email@hidden>)
 >Re: Building libcurl with Xcode (From: Jerry <email@hidden>)
 >Re: Building libcurl with Xcode (From: David Dunham <email@hidden>)

  • Prev by Date: Re: Building libcurl with Xcode
  • Next by Date: Re: G4 867mhz, Leopard, and XCode 3
  • Previous by thread: Re: Building libcurl with Xcode
  • Next by thread: Re: Unable to directly link against dynamic library libicucore
  • Index(es):
    • Date
    • Thread