Boost logo

Boost :

From: Herbert Yu (yuhaian_at_[hidden])
Date: 2004-01-29 16:12:53


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.

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!

set TOOLS=mingw
Set BOOST_JAM_TOOLSET=mingw

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

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...

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

Thanks

Herbert Yu


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk