Boost logo

Boost-Build :

Subject: [Boost-build] How to build boost libraries with openCC compiler (AMD open64)?
From: janitor 048 (janitor048_at_[hidden])
Date: 2011-04-30 14:49:36


Dear Boost experts,

I would like to compile the Boost libraries using AMD's version of the
open64 compiler (for C++ it's called openCC). Unfortunately there is no
predefined toolset for this compiler (Boost v1.46-1) and I don't really get
how to manually force bjam to use this compiler. Preferably with
optimization options -Ofast (or -O3 if-need-be)
I've tried building a custom version of bjam, tricking it by giving the
toolset as 'using gcc : 4.2.5 : /usr/local/bin/openCC : <cxxflags>"-O3" ; '
in the user-config.jam file located in the /tools/build/v2 subdirectory.
This works at first, but when trying to apply this custom bjam to the
building of the libraries themselves I get conflicting -O0 and -Ofast option
errors.

Any help would be highly appreciated.

Best regards,
Oliver



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