Boost logo

Boost :

From: Simon Atanasyan (atanasyan_at_[hidden])
Date: 2007-10-12 14:19:33


2007/10/12, William SleemanIV <wsleemaniv_at_[hidden]>:
> 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

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