Boost logo

Boost-Build :

Subject: Re: [Boost-build] boost library compile error on Linux 3.2.2-5
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-11-30 01:12:27


AMDG

On 11/29/2012 01:23 PM, Lynn Johnson wrote:
> We have a large Windows application that I am trying to port to Linux. Our group has decided to check out Boost the boost libraries for this port. I have downloaded and expanded the Boost .tar file (boost_1_52_0) and am following the instructions listed on the Boost "Getting Started on Unix variants" page. My OS is a virtual machine running Red hat Linux 3.2.2-5. This is the linux version our customer has.
>
> I have successfully executed ./bootstrap.sh to set up prefixes and specified "-with-libraries" for the thread library. When I run "./b2 install" all compiles are failing with the error "cclplus: unrecognized option '-Wextra' "
>
> I would like to try compiling with this option set to "-W" instead of -Wextra but I have been unable to find the Boost file that lists the compiler options. I've googled and seen mention of a boost/status/compiler.cfg file but that file does not exist in the boost/status directory that was unpacked today. I tried running a "find" command from the boost_1_52_0 directory and came up empty.
>
> Can someone tell me where the compiler options are declared so I can alter them? Any suggestions you have are greatly appreciated.
>

I believe it's in libs/thread/build/Jamfile.v2.
However, the fact that you're getting this
error indicates that you're trying to compile
with an older version of gcc than any that
we test with. It's quite likely that there
will be other failures.

In Christ,
Steven Watanabe


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