Boost logo

Boost Users :

Subject: Re: [Boost-users] compiling 32 bit boost libraries on a 64 bit system? (gcc, Linux)
From: Ákos Maróy (akos_at_[hidden])
Date: 2009-02-19 02:32:23


Vladimir,

Thank your for your quick response.

> That's not what the documentation say. It says:
>
> The following options can be provided, using <option-name>option-value syntax:
>
> So, you need:
>
>
> using gcc : 4.1.2 : g++-4.1.2 : <compileflags>-m32 <linkflags>-m32 ;

I'm sorry, you're totally right, sorry being so ignorant.

> You have failed to say what version of Boost you are using. If 1.38 then you should not
> need any of this, and just do:
>
> bjam architecture=x86 address-model=32

indeed - excellent!

I missed this, as bjam --help does not list these options. but indeed,
now I see them on the online documentation, at
http://www.boost.org/doc/tools/build/doc/html/bbv2/advanced/builtins/features.html

thank you,

Akos


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net