|
Boost-Build : |
From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2002-11-19 07:22:01
> I tried just running 'bjam -sBUILD="vacpp"' and I still get compilation
> directives that look like this:
>
> gcc-C++-action
> libs/regex/build/bin/libboost_regex.a/gcc/vacpp/architecture-native/debug-s
>y
> mbols-on/inlining-off/instruction-set-default/optimization-off/profiling-of
>f
> /rtti-on/runtime-link-dynamic/shared-linkable-false/threading-single/vtable
>- thunks-default/c_regex_traits.o
Oops, my mistake. You have to do 'bjam -sTOOLS="vacpp"'. The TOOLS env.var.
will define the toolset (i.e. compiler), BUILD can e.g. be defined as "debug"
or "release".
>
> > I'm curious about the results you'll obtain with aCC. The
> > boost status pages
> > for HPUX only report about HPUX 11. IMO the compilers on HPUX
> > 10.20 are not
> > as up to date (we have for instance version A.01.21 which is
> > the latets on
> > HPUX AFAIK)
>
> At this point, I'm in a bit of a pickle, as far as time goes.
>
> I'd like to get Boost running on our group's development server to replace
> 3rd party Rogue Wave time and date classes and to get some reference smart
> and auto pointer constructs as well as other goodies.
>
> But I can't snatch enough spare work time to hack jamfiles written in a
> grammar I (literally) only saw yesterday and ignore my regular software
> development, ClearCase administration and systems administration tasks for
> a goal that seems to have an uncertain return at this point.
>
> If you have an aCC jamfile for aCC on HP-UX 11.00, could you please send it
> to me? I'll try to back date the compiler directives if they're wrong,
> which I doubt. Otherwise, I'm afraid that I'm going to have to stop working
> on this, much as I'd like to continue..
Well, I quickly edited a acc-tools.jam and tested it. It basically works but
now needs tuning (I'll hope to find some time for this later this week). Or
if you're familiar witht the options of aCC we can work this out together.
So put the attached acc-tools.jam in boost/tools/build and do bjam
-sTOOLS=acc (or define TOOLS to be an env.var and set it to acc).
As mentioned earlier, I can't understand aCC handles C++ code this badly (but
probably it's because I don't know the right options yet so you can help me
out here). See for instance when I tried to compiler ublas :
lanczos:/home/tk/boost/libs/numeric/ublas> /home/tk/bjam -sTOOLS=acc
...patience...
...patience...
...patience...
...found 3664 targets...
...updating 72 targets...
aCC-C++-action
../../../libs/numeric/ublas/test1/bin/test1/acc/debug/runtime-link-dynamic/test1.o
Error 112: "test1/test1.cpp", line 9 # Include file <iostream> not found.
#include <iostream>
^^^^^^^^^^
aCC -c -I/home/tk/boost -DBOOST_UBLAS_SAFE -DUSE_RANGE -g
-I"../../../libs/numeric/ublas/test1" -I"/home/tk/boost" -o
"../../../libs/numeric/ublas/test1/bin/test1/acc/debug/runtime-link-dynamic/test1.o"
"test1/test1.cpp"
...failed aCC-C++-action
../../../libs/numeric/ublas/test1/bin/test1/acc/debug/runtime-link-dynamic/test1.o...
aCC-C++-action
../../../libs/numeric/ublas/test1/bin/test1/acc/debug/runtime-link-dynamic/test11.o
Error 112: "test1/test11.cpp", line 9 # Include file <iostream> not found.
#include <iostream>
^^^^^^^^^^
aCC -c -I/home/tk/boost -DBOOST_UBLAS_SAFE -DUSE_RANGE -g
-I"../../../libs/numeric/ublas/test1" -I"/home/tk/boost" -o
"../../../libs/numeric/ublas/test1/bin/test1/acc/debug/runtime-link-dynamic/test11.o"
"test1/test11.cpp"
...failed aCC-C++-action
../../../libs/numeric/ublas/test1/bin/test1/acc/debug/runtime-link-dynamic/test11.o...
aCC-C++-action
../../../libs/numeric/ublas/test1/bin/test1/acc/debug/runtime-link-dynamic/test12.o
Error 112: "test1/test12.cpp", line 9 # Include file <iostream> not found.
#include <iostream>
^^^^^^^^^^
aCC -c -I/home/tk/boost -DBOOST_UBLAS_SAFE -DUSE_RANGE -g
-I"../../../libs/numeric/ublas/test1" -I"/home/tk/boost" -o
"../../../libs/numeric/ublas/test1/bin/test1/acc/debug/runtime-link-dynamic/test12.o"
"test1/test12.cpp"
...failed aCC-C++-action
../../../libs/numeric/ublas/test1/bin/test1/acc/debug/runtime-link-dynamic/test12.o...
aCC-C++-action
../../../libs/numeric/ublas/test1/bin/test1/acc/debug/runtime-link-dynamic/test13.o
Error 112: "test1/test13.cpp", line 9 # Include file <iostream> not found.
#include <iostream>
^^^^^^^^^^
aCC -c -I/home/tk/boost -DBOOST_UBLAS_SAFE -DUSE_RANGE -g
-I"../../../libs/numeric/ublas/test1" -I"/home/tk/boost" -o
"../../../libs/numeric/ublas/test1/bin/test1/acc/debug/runtime-link-dynamic/test13.o"
"test1/test13.cpp"
...failed aCC-C++-action
../../../libs/numeric/ublas/test1/bin/test1/acc/debug/runtime-link-dynamic/test13.o...
...skipped
<libs!numeric!ublas!test1/test1/acc/debug/runtime-link-dynamic>test1 for lack
of <libs!numeric!ublas!test1/test1/acc/debug/runtime-link-dynamic>test1.o...
aCC-C++-action
../../../libs/numeric/ublas/test2/bin/test2/acc/debug/runtime-link-dynamic/test2.o
Error 112: "test2/test2.cpp", line 9 # Include file <iostream> not found.
#include <iostream>
^^^^^^^^^^
aCC -c -I/home/tk/boost -DBOOST_UBLAS_SAFE -g
-I"../../../libs/numeric/ublas/test2" -I"/home/tk/boost" -o
"../../../libs/numeric/ublas/test2/bin/test2/acc/debug/runtime-link-dynamic/test2.o"
"test2/test2.cpp"
...failed aCC-C++-action
../../../libs/numeric/ublas/test2/bin/test2/acc/debug/runtime-link-dynamic/test2.o...
aCC-C++-action
../../../libs/numeric/ublas/test2/bin/test2/acc/debug/runtime-link-dynamic/test21.o
Error 112: "test2/test21.cpp", line 9 # Include file <iostream> not found.
#include <iostream>
^^^^^^^^^^
aCC -c -I/home/tk/boost -DBOOST_UBLAS_SAFE -g
-I"../../../libs/numeric/ublas/test2" -I"/home/tk/boost" -o
"../../../libs/numeric/ublas/test2/bin/test2/acc/debug/runtime-link-dynamic/test21.o"
"test2/test21.cpp"
...failed aCC-C++-action
../../../libs/numeric/ublas/test2/bin/test2/acc/debug/runtime-link-dynamic/test21.o...
aCC-C++-action
../../../libs/numeric/ublas/test2/bin/test2/acc/debug/runtime-link-dynamic/test22.o
Error 112: "test2/test22.cpp", line 9 # Include file <iostream> not found.
#include <iostream>
^^^^^^^^^^
aCC -c -I/home/tk/boost -DBOOST_UBLAS_SAFE -g
-I"../../../libs/numeric/ublas/test2" -I"/home/tk/boost" -o
"../../../libs/numeric/ublas/test2/bin/test2/acc/debug/runtime-link-dynamic/test22.o"
"test2/test22.cpp"
...failed aCC-C++-action
../../../libs/numeric/ublas/test2/bin/test2/acc/debug/runtime-link-dynamic/test22.o...
aCC-C++-action
../../../libs/numeric/ublas/test2/bin/test2/acc/debug/runtime-link-dynamic/test23.o
Error 112: "test2/test23.cpp", line 9 # Include file <iostream> not found.
#include <iostream>
^^^^^^^^^^
aCC -c -I/home/tk/boost -DBOOST_UBLAS_SAFE -g
-I"../../../libs/numeric/ublas/test2" -I"/home/tk/boost" -o
"../../../libs/numeric/ublas/test2/bin/test2/acc/debug/runtime-link-dynamic/test23.o"
"test2/test23.cpp"
...failed aCC-C++-action
../../../libs/numeric/ublas/test2/bin/test2/acc/debug/runtime-link-dynamic/test23.o...
...skipped
<libs!numeric!ublas!test2/test2/acc/debug/runtime-link-dynamic>test2 for lack
of <libs!numeric!ublas!test2/test2/acc/debug/runtime-link-dynamic>test2.o...
aCC-C++-action
../../../libs/numeric/ublas/test3/bin/test3/acc/debug/runtime-link-dynamic/test3.o
Error 112: "test3/test3.cpp", line 9 # Include file <iostream> not found.
#include <iostream>
^^^^^^^^^^
aCC -c -I/home/tk/boost -DBOOST_UBLAS_SAFE -DUSE_RANGE -g
-I"../../../libs/numeric/ublas/test3" -I"/home/tk/boost" -o
"../../../libs/numeric/ublas/test3/bin/test3/acc/debug/runtime-link-dynamic/test3.o"
"test3/test3.cpp"
...failed aCC-C++-action
../../../libs/numeric/ublas/test3/bin/test3/acc/debug/runtime-link-dynamic/test3.o...
aCC-C++-action
../../../libs/numeric/ublas/test3/bin/test3/acc/debug/runtime-link-dynamic/test31.o
Error 112: "test3/test31.cpp", line 9 # Include file <iostream> not found.
#include <iostream>
^^^^^^^^^^
aCC -c -I/home/tk/boost -DBOOST_UBLAS_SAFE -DUSE_RANGE -g
-I"../../../libs/numeric/ublas/test3" -I"/home/tk/boost" -o
"../../../libs/numeric/ublas/test3/bin/test3/acc/debug/runtime-link-dynamic/test31.o"
"test3/test31.cpp"
...failed aCC-C++-action
../../../libs/numeric/ublas/test3/bin/test3/acc/debug/runtime-link-dynamic/test31.o...
aCC-C++-action
../../../libs/numeric/ublas/test3/bin/test3/acc/debug/runtime-link-dynamic/test32.o
Error 112: "test3/test32.cpp", line 9 # Include file <iostream> not found.
#include <iostream>
^^^^^^^^^^
aCC -c -I/home/tk/boost -DBOOST_UBLAS_SAFE -DUSE_RANGE -g
-I"../../../libs/numeric/ublas/test3" -I"/home/tk/boost" -o
"../../../libs/numeric/ublas/test3/bin/test3/acc/debug/runtime-link-dynamic/test32.o"
"test3/test32.cpp"
...failed aCC-C++-action
../../../libs/numeric/ublas/test3/bin/test3/acc/debug/runtime-link-dynamic/test32.o...
aCC-C++-action
../../../libs/numeric/ublas/test3/bin/test3/acc/debug/runtime-link-dynamic/test33.o
Error 112: "test3/test33.cpp", line 9 # Include file <iostream> not found.
#include <iostream>
^^^^^^^^^^
aCC -c -I/home/tk/boost -DBOOST_UBLAS_SAFE -DUSE_RANGE -g
-I"../../../libs/numeric/ublas/test3" -I"/home/tk/boost" -o
"../../../libs/numeric/ublas/test3/bin/test3/acc/debug/runtime-link-dynamic/test33.o"
"test3/test33.cpp"
...failed aCC-C++-action
../../../libs/numeric/ublas/test3/bin/test3/acc/debug/runtime-link-dynamic/test33.o...
...skipped
<libs!numeric!ublas!test3/test3/acc/debug/runtime-link-dynamic>test3 for lack
of <libs!numeric!ublas!test3/test3/acc/debug/runtime-link-dynamic>test3.o...
aCC-C++-action
../../../libs/numeric/ublas/test4/bin/test4/acc/debug/runtime-link-dynamic/test4.o
Error 112: "test4/test4.cpp", line 9 # Include file <iostream> not found.
#include <iostream>
^^^^^^^^^^
aCC -c -I/home/tk/boost -DBOOST_UBLAS_SAFE -DUSE_RANGE -DUSE_ADAPTOR
-g -I"../../../libs/numeric/ublas/test4" -I"/home/tk/boost" -o
"../../../libs/numeric/ublas/test4/bin/test4/acc/debug/runtime-link-dynamic/test4.o"
"test4/test4.cpp"
...failed aCC-C++-action
../../../libs/numeric/ublas/test4/bin/test4/acc/debug/runtime-link-dynamic/test4.o...
aCC-C++-action
../../../libs/numeric/ublas/test4/bin/test4/acc/debug/runtime-link-dynamic/test41.o
...interrupted
...failed updating 13 targets...
...skipped 3 targets...
lanczos:/home/tk/boost/libs/numeric/ublas>
--------------Boundary-00=_P0PT2NVF8L2SGE1TGV8T Content-Type: text/x-makefile;
charset="iso-8859-1";
name="acc-tools.jam"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="acc-tools.jam"
IyAoQykgQ29weXJpZ2h0IFRvb24gS25hcGVuIDIwMDEsIE1hcmt1cyBTY2hvZXBmbGluIDIwMDIu
CiMgUGVybWlzc2lvbiB0byBjb3B5LCB1c2UsCiMgbW9kaWZ5LCBzZWxsIGFuZCBkaXN0cmlidXRl
IHRoaXMgc29mdHdhcmUgaXMgZ3JhbnRlZCBwcm92aWRlZCB0aGlzCiMgY29weXJpZ2h0IG5vdGlj
ZSBhcHBlYXJzIGluIGFsbCBjb3BpZXMuIFRoaXMgc29mdHdhcmUgaXMgcHJvdmlkZWQKIyAiYXMg
aXMiIHdpdGhvdXQgZXhwcmVzcyBvciBpbXBsaWVkIHdhcnJhbnR5LCBhbmQgd2l0aCBubyBjbGFp
bSBhcwojIHRvIGl0cyBzdWl0YWJpbGl0eSBmb3IgYW55IHB1cnBvc2UuCgojCiMgSmFtIHRvb2xz
IGluZm9ybWF0aW9uIGZvciA6CiMgSFAtVVggYUNDIGNvbXBpbGVyCiMKCmZsYWdzIGFjYyBDQyAg
PHRocmVhZGluZz5zaW5nbGUgOiBjYyAgIDsKZmxhZ3MgYWNjIENDICA8dGhyZWFkaW5nPm11bHRp
IDogY2MgOwoKZmxhZ3MgYWNjIENYWCA8dGhyZWFkaW5nPnNpbmdsZSA6IGFDQyAgIDsKZmxhZ3Mg
YWNjIENYWCA8dGhyZWFkaW5nPm11bHRpIDogYUNDIDsKCmZsYWdzIGFjY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tYWN0aW9uCnsKICAgICQoQ0MpIC1jIC1JJChCT09TVF9ST09UKSAtVSQoVU5ERUZTKSAtRCQo
REVGSU5FUykgJChDRkxBR1MpIC1JIiQoSERSUykiIC1JIiQoU1RESERSUykiIC1vICIkKDwpIiAi
JCg+KSIKfQoKIyMjIyBDKysgIyMjIwpydWxlIEMrKy1hY3Rpb24KewogICAgYUNDLUMrKy1hY3Rp
b24gJCg8KSA6ICQoPikgOwp9CgphY3Rpb25zIGFDQy1DKystYWN0aW9uCnsKICAgICQoQ1hYKSAt
YyAtSSQoQk9PU1RfUk9PVCkgLVUkKFVOREVGUykgLUQkKERFRklORVMpICQoQ0ZMQUdTKSAkKEMr
K0ZMQUdTKSAtSSIkKEhEUlMpIiAtSSIkKFNUREhEUlMpIiAtbyAiJCg8KSIgIiQoPikiCn0KCiMj
IyMgQXJjaGl2ZSAjIyMjCgpydWxlIEFyY2hpdmUtYWN0aW9uCnsKICAgIGFjYy1BcmNoaXZlLWFj
dGlvbiAkKDwpIDogJCg+KSA7Cn0KCmFjdGlvbnMgdXBkYXRlZCB0b2dldGhlciBwaWVjZW1lYWwg
YWNjLUFyY2hpdmUtYWN0aW9uCnsKICAgIGFyIHJ1JChBUkZMQUdTKSAiJCg8KSIgIiQoPikiCn0K
--------------Boundary-00=_P0PT2NVF8L2SGE1TGV8T--
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