|
Boost Users : |
From: David Abrahams (dave_at_[hidden])
Date: 2004-11-29 17:59:58
Paul Dubuc wrote:
> I'm trying to build Boost 1.32 on Solaris 8 (SPARC) with GCC 3.3.4. I
> want to build a 64-bit version of the libraries and this requires pasing
> the -m64 option to the compiler. How do I tell bjam to do this?
>
> I've tried:
>
> export TOOLSET_OPT="-sGCC_ROOT_DIRECTORY=${GCCDIR}
> -exec-prefix=${PWD}/${GCCVERSION}/64 \"\"-sGXX=g++ -m64\"\"
> \"\"-sGCC=gcc -m64\"\""
>
> ...
>
> bjam ${TOOLSET_OPT} \
> -sTOOLS=${TOOLSET} \
> --prefix=${PWD}/.. \
> --with-python-root=/projects/gnu/sparc-sun-solaris8 \
> install
>
> It dosn't seem to work. I still get 32-bit libraries.
>
> Help would be appreciated, Thanks.
Please ignore my other reply to this. Add "-sBUILD=<address-model>64"
to your command-line.
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net