Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2004-02-01 12:13:10


Build issues should really go to the Boost.Build list.

Herbert Yu wrote:

> Not sure now. I downloaded version 1.30.2 of boost. The build.bat file in
> {root}\tools\build\jam_src
> cannot work correctly with mingw as it says.

I'm not going to try and guess how your system is set up. Here are the
situations under which MinGW is supported...

1. If you install MinGW on the default path its installer suggests: C:\MinGW
you should be able to just do:

> cd <boost-root-dir-here>\tools\build\jam_src
> .\build.bat

And it will autodetect that installed location.

2. If MinGW is immediately executable, i.e. it's in your path, you can:

> cd <boost-root-dir-here>\tools\build\jam_src
> .\build.bat mingw

#2 should hold true for all toolsets supported.

> First I have to add following to build.bat for it can guess mingw
>
> call :Test_Path gcc.exe
> if not errorlevel 1 (
> set BOOST_JAM_TOOLSET=mingw
> set BOOST_JAM_TOOLSET_ROOT=%FOUND_PATH%..\
> goto :eof)
> setlocal & endlocal
>
> It guess first? Should use my environment first! I have set both
> BOOST_JAM_TOOLSET and TOOLS!

I don't see anything in ..\tools\build\jam_src\index.html saying you need to
set those.

> Even build.bat can guess my mingw, it failed as following:

When does it guess MinGW? Did you not just say that it was not guessing MinGW
for you, above?

> execunix.c: In function `execcmd':
> execunix.c:214: warning: passing arg 3 of `spawnvp' from incompatible
> pointer type
> C:\DOCUME~1\hyu\LOCALS~1\Temp/ccKYiaaa.o(.text+0x12f):timestamp.c: undefined
> reference to `file_time'
> C:\DOCUME~1\hyu\LOCALS~1\Temp/ccKYiaaa.o(.text+0x2cd):timestamp.c: undefined
> reference to `file_archscan'
> C:\DOCUME~1\hyu\LOCALS~1\Temp/ccKYiaaa.o(.text+0x315):timestamp.c: undefined
> reference to `file_dirscan'
> C:\DOCUME~1\hyu\LOCALS~1\Temp/ccCOkaaa.o(.text+0x131c):builtins.c: undefined
> reference to `file_dirscan'
> gcc -o
> bin.mingwx86\jam -DNDEBUG -DOPT_HEADER_CACHE_EXT -DOPT_GRAPH_DEBUG_EXT -DOP
> T_SEMAPHORE -DOPT_FIX_TARGET_VARIABLES_EXT -DOPT_IMPROVED_PATIENCE_EXT
> -DYYSTACKSIZE=5000 -s -O3 -finline-functions -DMINGW command.c compile.c
> exp
> and.c glob.c hash.c hcache.c headers.c hdrmacro.c jam.c jambase.c jamgram.c
> lists.c make.c make1.c newstr.c option.c parse.c regexp.c rules.c scan.c
> search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c
> builtins.c pwd.c execunix.c fileunix.c pathunix.c
> ...failed .cc bin.mingwx86\jam...
> ...failed updating 1 target...
> ...updated 2 targets...

Which version of MinGW are you using??

> Can anyone help me? I am not on the list. Please reply to my email address
> as well.

I'd suggest joining at least one of the Boost lists. If you don't want much
traffic try the users list.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq
 

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