Boost logo

Boost :

From: Richard Hadsell (hadsell_at_[hidden])
Date: 2008-05-14 13:58:06


Vladimir Prus wrote:
> Try adding architecture=x86 to the command line.
>
That works. Thank you for the suggestion.

I think bjam ought to do the equivalent by default on x86 or x86_64
systems, but it's fine with me to explicitly set the architecture.

Perhaps the architecture-dependent lines in gcc.jam could be replaced by
just one that sets the flag for all, since they are all '-m32' or
'-m64'. That is, replace

flags gcc OPTIONS <architecture>x86/<address-model>32 : -m32 ;
flags gcc OPTIONS <architecture>x86/<address-model>64 : -m64 ;
flags gcc OPTIONS <architecture>sparc/<address-model>32 : -m32 ;
flags gcc OPTIONS <architecture>sparc/<address-model>64 : -m64 ;
flags gcc OPTIONS <architecture>power/<address-model>32 : -m32 ;
flags gcc OPTIONS <architecture>power/<address-model>64 : -m64 ;

by

flags gcc OPTIONS <address-model>32 : -m32 ;
flags gcc OPTIONS <address-model>64 : -m64 ;

If I have some time, I'll try it out.

-- 
Dick Hadsell			914-259-6320  Fax: 914-259-6499
Reply-to:			hadsell_at_[hidden]
Blue Sky Studios                http://www.blueskystudios.com
44 South Broadway, White Plains, NY 10601

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk