Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-01-24 13:14:32


On Friday 19 January 2007 15:50, Norbert Unterberg wrote:
> Volodya,
>
> Vladimir Prus schrieb:
> > On Monday 15 January 2007 19:18, Norbert Unterberg wrote:
> >
> >>We are running a cross compiler toolchain under Cygwin/Windows. This
> >>toolchain uses a cuistomized gcc compiler to generate code for a linux
> >>target.
> >>
> >
> > Do you mean the extension is wrong, or that the build process is wrong?
> > I've looked at the code in question and there are very few platform-specific
> > differences.
>
> The build does not succeed.
>
> I have downloaded and extracted boost, so I have a boost_1_33_1 folder.
> I then downloaded boost-jam-3.1.13-1-ntx86 and copied the bjam.exe into
> this folder.
>
> I then try to build Boost.Threads (as an example) from within a cygwin
> command shell, using the command line:
>
> ./bjam -sTOOLS=gcc
> -sGCC_ROOT_DIRECTORY=/opt/elinos-4.1/cdk/x86/486/glibc-2.3.4
> -sGXX=x86_486-g++ -sGCC=x86_486-gcc --with-thread stage
>
> as described by http://www.boost.org/more/getting_started.html
>
> This is what I get:

> gcc-C++-action
> bin\boost\libs\thread\build\boost_thread.dll\gcc\debug\threading-multi\exceptions.obj
> Das System kann den angegebenen Pfad nicht finden.
> (--> translated: can not find the specified path)
>
>
> "/opt/elinos-4.1/cdk/x86/486/glibc-2.3.4\bin\x86_486-g++" -c -Wall
> -ftemplate-depth-255 -DBOOST_THREAD_LIB_NAME=boost_thread -DBOOST_THREAD_BU
> ILD_DLL=1 -g -O0 -fno-inline -mthreads -I"bin\boost\libs\thread\build"
> -I "d:\boost\boost_1_33_1" -o
> "bin\boost\libs\thread\build\boost_thread.dll
> \gcc\debug\threading-multi\exceptions.obj"
> "d:\boost\boost_1_33_1\libs\thread\build\..\src\exceptions.cpp"

This message seem to say that

        "/opt/elinos-4.1/cdk/x86/486/glibc-2.3.4\bin\x86_486-g++"

is not a valid program name. Does the same command works if you type in the
the same shell where you run bjam? Is this cygwin or NT shell? Did you build
bjam under NT or cygiwn?

- 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