building cURL?
building cURL?
- Subject: building cURL?
- From: Rich Collyer <email@hidden>
- Date: Thu, 20 Nov 2008 14:39:26 -0800
I need to build and link with my own version of cURL (mostly because we need to implement the SSL_FILETYPE_ENGINE case in the function cert_stuff). The library needs to be a universal binary that works on both 10.4.x and 10.5.x. I have tried to use build commands similar to openssl (see below), but it just does not seem to work.
Any hints? +++++++++++++++++++++++ Rich Collyer - Senior Software Engineer
IronKey - The World's Most Secure Flash Drive 2008 SC Magazine Readers Choice Award Winner 2008 FOSE Best of Show Winner 2007 GCN Labs Reviewers Choice Winner +++++++++++++++++++++++
# i386 Static Library - shell script goes here BUILD_DIR=build/static/i386 make clean ./Configure 386 darwin-i386-cc make "CC=cc -arch i386 -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk" mkdir -p $BUILD_DIR cp *.a $BUILD_DIR echo "Done i386 - Static Library" exit 0
# ppc static library - shell script goes here BUILD_DIR=build/static/ppc rm *.a make clean ./Configure ppc darwin-ppc-cc make "CC=cc -arch ppc -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk" mkdir -p $BUILD_DIR ls *.a > libnames.tmp mv *.a $BUILD_DIR echo "Done PPC - Static Library" exit 0
# Static Universal - shell script goes here for lib in `cat libnames.tmp`; do lipo -create build/static/*/$lib -output build/static/$lib ranlib build/static/*.a done exit 0 |
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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