|
Boost-Build : |
Subject: Re: [Boost-build] building boost lib for serialization
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-06-10 02:00:44
On Tuesday 09 June 2009 Sheth, Sonal S wrote:
> I'm trying to build the boost lib for serialization first time on Unix platform using aCC compiler.
> I'm getting following error. (I'm also attaching the complete build.log file)
>
> acc.compile.c++ /tmp/build-boost/boost/bin.v2/libs/serialization/build/acc/release/threading-multi/
> basic_archive.o
> aCC: warning 901: unknown option: `-3': use +help for online documentation.
You seem to have trimmed something from your build log -- specifically, the failed compiler invocation
command. Boost.Build is not supposed to ever pass -3 to compiler -- only -O3. Can you check if that is
supported, and if not, what is the right option for max optimization?
> Error 119: "./boost/config/compiler/hp_acc.hpp", line 84 # #error "Compiler option '+hpxstd98' is r
> equired for proper support"
> # error "Compiler option '+hpxstd98' is required for proper suppor
>
> As per Error 119, I think I need to add some options like
> CFLAGS = +inst_implicit_include +W2009,2186,2191,2236,2815,2174 -g0 -AA +hpxstd98 -DSTD_IS_DEFINED
>
> What options are needed to compile and where?
Can you specify those options when configuring the toolset in user-config.jam, e.g.:
using acc
: # version
: # compiler command
: <cxxflags>....
;
using the flags you gave above. And then see if it improves things?
- Volodya
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