Boost logo

Boost-Build :

Subject: [Boost-build] Help building 64-bit boost libs on Mac OS X!
From: fischerandom (andreas.thyrhaug_at_[hidden])
Date: 2008-10-10 12:01:39

I want to build boost 1.36 under Mac OS X 10.5, using the GNU g++ compiler
I am not using Xcode for this, but Xcode 3.0 is also installed on the

I have already built boost 1.36 like this on my Mac:
# ./configure
# make install
./tools/jam/src/bin.macosxx86/bjam --user-config=user-config.jam
--prefix=/usr/local --exec-prefix=/usr/local --libdir=/usr/local/lib
--includedir=/usr/local/include --with-date_time --with-filesystem
--with-iostreams --with-program_options --with-serialization --with-system
--with-thread install

(a few thousand lines more was output - no errors reported)

So now I have the libraries:

It worked fine! However, the result was 32-bit builds of the boost
and what I need is 64-bit builds of the boost libraries!

Note: The Mac I use has a 64-bit processor, a MacBook Pro with an Intel Core
2 processor.

I have successfully built applications that compile and link an 64-bit
executable on the system
with thease flags in my Makefile:
CXXFLAGS = -arch x86_64
LDFLAGS = -arch x86_64

I guess that those compiler and linker flags need to be passed to g++
by bjam when building the boost libraries.

Any help is very much appreciated!

View this message in context:
Sent from the Boost - Build mailing list archive at

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at