libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] building a 0.9.1 universal lib under mac os x


From: Ronny Falk
Subject: [libmicrohttpd] building a 0.9.1 universal lib under mac os x
Date: Thu, 30 Sep 2010 17:10:49 -0400

with those settings, I was able to produce a nice "fat" library (i386+x86_64) on osx10.6/10.5:

export MACOSX_DEPLOYMENT_TARGET="10.5"
export CFLAGS="-Os -fomit-frame-pointer -pipe -arch i386 -arch x86_64 -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk"
export CXXFLAGS="-Os -fomit-frame-pointer -pipe -arch i386 -arch x86_64 -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk"
export LDFLAGS="-arch i386 -arch x86_64 -mmacosx-version-min=10.5"
export CC="gcc-4.2"
export CXX="g++-4.2"
export CPP="gcc -E"
export CXXCPP="g++ -E"

./configure --prefix=/Users/ronny/projects/mhd --disable-https --disable-dependency-tracking
make && make install

reply via email to

[Prev in Thread] Current Thread [Next in Thread]