Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-02-20 11:16:58


On Friday 17 February 2006 19:00, Jim Douglas wrote:
> Vladimir Prus wrote:
> > Jim,
> > a quick port of qcc toolset is attached.
> >
> > Can you test it? The testing instructions are available at:
> >
> > http://zigzag.cs.msu.su/boost.build/wiki/TestingNewToolset
>
......
> *****************
> 1. The "-Wc,-fPIC" option should be "-Wl,-fPIC". c = compiler, l = linker
> ****************
>
> I have modified qcc.jam, and it is attached. Note that the spurious
> "-Wall" is still there. I cannot trace where it is coming from.

gcc.jam has:

  flags gcc.compile OPTIONS <warnings>off : -w ;
  flags gcc.compile OPTIONS <warnings>all : -Wall ;

and qcc.jam inherits those definitions. I've comitted the attached patch to
fix this.

> The
> results are now:
>
> ...updated 2 targets...
> ...found 9 targets...
> ...updating 2 targets...
> qcc.compile.c++ bin/qcc/debug/hello.o
>
> "QCC" -Wc,-ftemplate-depth-100 -O0 -Wall -Wc,-fno-inline -Wc,-Wall
> -Wc,-fPIC -gstabs+ -c -o "bin/qcc/debug/hello.o" "hello.cpp"
>
> qcc.link bin/qcc/debug/hello
>
> "QCC" -o "bin/qcc/debug/hello" "bin/qcc/debug/hello.o"
> -Wl,-fPIC -gstabs+
>
> ...updated 2 targets...

Ok. Did you try the 'library' test, or tried running the V2 test_all.py
script? Did you try running C++ Boost regression tests?

> You will have seen that there are several qcc-*-tools.jam files in the
> bbv1 directory. How do I invoke the variations that these files offer?
> The current file just gives me the default options.

Please take a look at:

   https://zigzag.cs.msu.su/boost.build/wiki/BoostRegressionsV2

It looks like you'd need to specify proper "-V" options when configuring the
toolset.

Thanks,
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