Building log4cpp Universal Binary on Mac OS X

Posted by admin on Apr 4, 2008 in Mac OS X, Unix |

Here’s the configure command I used to build a universal binary for log4cpp on Mac OS X:

$ env CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch i386 -arch ppc" \
LDFLAGS="-arch i386 -arch ppc" \
CXXFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch i386 -arch ppc" \
./configure --disable-dependency-tracking


You must be logged in to post a comment.

Copyright © 2017 Standalone Code LLC All rights reserved. Theme by Laptop Geek.