
2007/10/12, William SleemanIV <wsleemaniv@mcvh-vcu.edu>:
Yes, I did add those three lines to my sun.jam file. Since I am using SunStudio 11 should I change
flags sun OPTIONS <architecture>/<address-model>32 : -m32 ; flags sun OPTIONS <architecture>/<address-model>64 : -m64 ;
to
flags sun OPTIONS <address-model>32 : -xarch=generic32 ; flags sun OPTIONS <address-model>64 : -xarch=generic64 ;
1. Why do you skip "<architecture>"? 2. I compiled Boost by Sun Studio 11 using: flags sun OPTIONS <architecture>/<address-model>32 : -xarch=generic32 ; flags sun OPTIONS <architecture>/<address-model>64 : -xarch=generic64 ; and bjam toolset=sun stdlib=sun-stlport address-model=64 stage After that I run ldd on some Boost dynamic libraries. They use v9 version of Sun libraries. So compilation for 64-bit mode works good. -- Simon Atanasyan