From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-01-21 02:33:08
> I am a software engineer at Netstal Machinery, a manufacturer of plastic
> injection modules, where we run our own control SW.
> Therefore I decided to run first the tests on my personal PowerBook running
> Debian/GNU Linux. After compiling from source, etc calling
> python test_all.py gave me the following warning
> Note: skipping extra tests
> unit_tests : Cannot find built Boost.Jam
> Traceback (most recent call last):
> File "test_all.py", line 149, in ?
> run_tests(critical_tests, tests)
> File "test_all.py", line 34, in run_tests
> File "/mnt/data.ng/boost/tools/build/v2/test/unit_tests.py", line 5, in ?
> t = Tester(pass_toolset=0)
> File "/mnt/data.ng/boost/tools/build/v2/test/BoostBuild.py", line 137, in
> The following patch (my first Python code!) fixed the problem. Could
> somebody please review and apply it?
> diff -r1.65 BoostBuild.py
> < jam_build_dir = "bin.linuxx86"
> > jam_build_dir = "bin.linux"+os.uname()
Does not work for me :-( On x86 os.uname() returns "i686". I've put the
following extra logic:
cpu = os.uname()
if re.match("i.86", cpu):
jam_build_dir = "bin.linuxx86";
jam_build_dir = "bin.linux" + os.uname()
and committed this version. Thanks!
> Would somebody be interested in modifications/extensions to boost.jam to
> support cross-compiling for vxWorks?
Definitely. Cross-compiling is a thing we always wanted to implement, but
nobody pushed us hard enough to get this done. Since you're doing
cross-compiling on regular basics, I think you can easily outline the areas
where changes are needed.
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