Building Universal Boost Libraries on MacOS
Greetings, list! I'm trying to compile the boost libraries on an Intel based Macintosh. On my Intel Mac, I was able to build an Intel based version of bjam, which happily builds libraries for the Intel architecture. I want to link them to a universal app, though. Is there a way to instruct bjam to build universal versions of the libraries instead? I guess I could build the PowerPC libraries on my PowerPC Mac and them lipo them together, but I am hoping there is an easier way! Best regards, Finley
I had the same question, and was unsuccessful in modifying the darwin
makefiles for boost bjam. I ended up directly compiling the relevant
Boost source into the XCode project, which automatically made it
universal, however being able to create a universal static Boost
library would be much preferred.
Adobe Open Source has some patches as part of their library that build
Boost as a universal binary, though I would rather just see the darwin
makefile updated. The only changes needed are specifying the 10.4u SDK
path and -arch ppc i386. However, I am not familiar with the bjam
makefile syntax.
Adobe's patches:
http://opensource.adobe.com/asl_readme.html
-- Austin
On 2/16/07, Finley Lee
Greetings, list!
I'm trying to compile the boost libraries on an Intel based Macintosh. On my Intel Mac, I was able to build an Intel based version of bjam, which happily builds libraries for the Intel architecture.
I want to link them to a universal app, though. Is there a way to instruct bjam to build universal versions of the libraries instead?
I guess I could build the PowerPC libraries on my PowerPC Mac and them lipo them together, but I am hoping there is an easier way!
Best regards,
Finley _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
We now have p4web set up, so you can see the necessary patches to darwin.jamand gcc.jam at: http://opensource.adobe.com:8080/@md=d&cd=//submission/third_party/boost_tp/adobe/&cdf=//submission/third_party/boost_tp/adobe/boost_1_33_1_patch_01.txt&sr=1165&c=3jS@//submission/third_party/boost_tp/adobe/boost_1_33_1_patch_01.txt example usage: http://opensource.adobe.com:8080/@md=d&cd=//submission/&cdf=//submission/Jamfile.v2&sr=976&c=ltz@//submission/Jamfile.v2 My patches are support only the boost build v2 syntax, and have only been tested against boost 1.33.1.
participants (3)
-
Austin Shoemaker
-
Finley Lee
-
Mat Marcus