views:

329

answers:

2

Are there any MacOSX universal binaries (at least i386/ppc for >=macosx10.3) for Boost?

+2  A: 

You can install Boost on Mac by using MacPorts.

Once MacPorts is installed you just have to issue the following command:

sudo port install boost+universal

You can also ask MacPorts to build binary packages for you by either issuing:

port pkg pstree

or

port dmg pstree

The pkg or dmg files will be placed in a subfolder of /opt/local/var/macports/build

Gregory Pakosz
I need Universal binaries to redistribute it.
Albert
you can use `+universal` to get the universal binary variant
Gregory Pakosz
How can I be sure that I can redistribute this variant without problems? And that MacPorts doesn't install other dependencies?
Albert
I think MacPorts has no reason to make boost depend on something special. I don't think there is a problem redistributing what's built by MacPorts, just test your package on several OSX versions to make sure of it.
Gregory Pakosz
Btw., does port compile itself or are this binaries? In the case this are binaries, can't I download them manually?
Albert
macports compiles packages and is optionally able to create binary packages, see my edit
Gregory Pakosz
A: 

Well, just to give a final answer to the question:

No, there are't any Boost MacOSX Universal binaries at the moment.

(Please comment here if you found a link where I can download some prepackaged binaries.)

Albert