Boost logo

Boost-Build :

Subject: Re: [Boost-build] changing file output suffixes
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-06-26 10:14:34


On Friday 26 June 2009 McLemon, Sean wrote:

> > Try adding
> >
> > target-os=linux
> >
> > to command line.
> Thanks! It's good that my objects are now building - but supplying
> target-os=linux does seem a little strange as I'm not really building
> for any OS. Another target may be an idea, but it's not a huge deal:
> target-os=none, or target-os=bare_metal perhaps.

GCC uses 'eabi' and 'elf' on some targets to mean bare metal. We can either
use those, in indeed introduce 'bare' as target-os.

> Also, even though the object files are being created correctly I'm
> getting "the system cannot find the path specified", eg:
>
> /c/analog/tools5.0_andromeda/ccblkfn -c -DBOOST_ALL_NO_LIB=1
> -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG -O -always-inline -threads -eh
> -I"." -o
> "bin.v2\libs\math\build\bfin-8.0.7.1\release\target-os-linux\threading-m
> ulti\acosh.doj" "libs\math\build\..\src\tr1\acosh.cpp"
> -D_LITTLE_ENDIAN -c++ -full-cpplib
>
> ...failed bfin.compile.c++
> bin.v2\libs\math\build\bfin-8.0.7.1\release\target-os-linux\threading-mu
> lti\acosh.doj...
> bfin.compile.c++
> bin.v2\libs\math\build\bfin-8.0.7.1\release\target-os-linux\threading-mu
> lti\asinh.doj
> The system cannot find the path specified.
>
> ... etc
>
> Afterwards I manually verified that the files exist, and they do.

I'm confused. Are the object files created? (Which would suggest that error
message comes from compiler) Or the compilation fails, while the
/c/analog/tools5.0_andromeda/ccblkfn file exists? I'd suggest you try to
specify the path using Windows paths and see what happens.

- 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