Boost logo

Boost-Build :

From: Lydia Heck (lydia.heck_at_[hidden])
Date: 2008-03-03 12:27:37


I have been trying to build boost 1.34.x on a Solaris 10 x64 platform using the
studio12 compilers and I am hitting some barriers which I can not overcome:

(a) I built bjam with the studio12 cc compiler
(b) the user-conf.jam file looks as follows; I arrived that this
    by following a blog I found on the web on building boost.

# Boost.Build Configuration
# Automatically generated by Boost configure

# Compiler configuration
#using sun ;
import toolset : using ;
using sun
        : 5.10
        : /opt/studio12/SUNWspro/bin/CC
        : <stdlib>sun-stlport
          <cxxflags>-native64
        ;

# Python configuration
using python : 2.5 : /opt/csw ;

(c) I use the following command line
bjam --toolset=sun -sTOOLS=sunpro
-sSUNPRO_ROOT_DIRECTORY="/opt/studio12/SUNWspro/" -sSUNWPRO_CXX="CC
-library=stlport4 -features=tmplife -features=tmplrefstatic -Qoption ccfe
-complextmplexp" -j8 -d2 stage

However the options are not picked up, I get errors like the following:
./boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp", line 120: Error: Could not
find a match for std::distance<std::ForwardIterator, std::Distance> ......

Most importantly, I cannot build the library for 64 bit, as the compiler options
are not passed on.

Any idea how I should proceed would be gratefully received.

Lydia

------------------------------------------
Dr E L Heck

University of Durham
Institute for Computational Cosmology
Ogden Centre
Department of Physics
South Road

DURHAM, DH1 3LE
United Kingdom

e-mail: lydia.heck_at_[hidden]

Tel.: + 44 191 - 334 3628
Fax.: + 44 191 - 334 3645
___________________________________________


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk