Boost logo

Boost :

From: Vladimir Prus (vladimir_at_[hidden])
Date: 2008-05-14 12:18:56

Richard Hadsell wrote:

> Vladimir Prus wrote:
>> I presume you have already checked SVN HEAD, or 1.35, and the problem is still
>> here?
>> For the record, SVN HEAD version of tools/build/v2/tools/gcc.jam has this:
>> flags gcc OPTIONS <architecture>x86/<address-model>32 : -m32 ;
>> flags gcc OPTIONS <architecture>x86/<address-model>64 : -m64 ;
>> I suspect you version might not have the first line, so if the compiler
>> default is 64-bit, you'd always get 64-bit binary; you might want to
>> add the first line to your gcc.jam
> No, I haven't tried 1.35. I'm waiting for 1.35.1, because I like to let
> the bug detection fall to others, when possible.

Good idea; unfortunately it might mean that fixes also fall to others.

> My 1.34.1 does have both those lines. I suspect that some other line is
> overriding it. Perhaps it is my user-config option '<compileflags>-fPIC
> <linkflags>-fPIC' that wipes out the others.

Try adding architecture=x86 to the command line.

- Volodya

Boost list run by bdawes at, gregod at, cpdaniel at, john at