
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@blueskystudios.com Blue Sky Studios http://www.blueskystudios.com 44 South Broadway, White Plains, NY 10601