Subject: [Boost-bugs] [Boost C++ Libraries] #1186: Lack of 64-bit address model support using Sun Studio C++
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-08-16 09:09:01
#1186: Lack of 64-bit address model support using Sun Studio C++
-------------------------------------+--------------------------------------
Reporter: Simon.Atanasyan_at_[hidden] | Type: Bugs
Status: new | Milestone: To Be Determined
Component: Building Boost | Version: Boost 1.34.1
Severity: Problem | Keywords:
-------------------------------------+--------------------------------------
It is not possible to build 64-bit version of Boost libraries using Sun
Studio C++.
1. 'tools/build/v2/tools/sun.jam' should conatin something like:[[BR]]
{{{
flags sun OPTIONS <architecture>/<address-model>32 : -m32 ;
flags sun OPTIONS <architecture>/<address-model>64 : -m64 ;
}}}
2. To build shared libraries Sun Studio C++ requires -Kpic or -KPIC
command line option for compilation and linking. This option mandatory for
64-bit shared libraries and strongly recommended for 32-bit ones. What
option to choose (-Kpic or -KPIC) depends on the size of the Global Offset
Table (GOT). For Boost libraries -Kpic is enough.
Here is corresponded Sun Studio documentation article:
http://docs.sun.com/app/docs/doc/819-5267/6n7c46duv?a=view
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1186>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:56 UTC