Viktor.Ransmayr@t-online.de writes:
Hello everyone,
I've downloaded Boost 1.30.0 and tried to produce bjam from source using the MinGW environment.
For the record, I'm using
- MinGW-2.0.0-3 - binutils-2.13.90-2021006-02 - mingw-runtime-2.4 - w32api-2.2
Trying to bootstrap from source using
build.bat mingw >> %TMP%\build.log 2>&1
from the DOS cmd-shell on a WinXP-Pro system I receive the following errors. ( To save some bandwidth I've stripped the file build.log" to the relevant pieces and send it in attachment "stripped.build.log" )
Please let me know if I missed something in the documentation. - Otherwise tell me how to proceed further, since I'm really interested in getting Boost running in my MinGW environment.
build.jam:260: in .clean warning: unknown rule .rm build.jam:285: in .exe
Very interesting. It appears that the build script is failing to detect that you're running on a Windows system. It seems to me that the fix is to change line 247 of build.bat from: set BOOST_JAM_CC=gcc -DMINGW to set BOOST_JAM_CC=gcc -DMINGW -DNT However, it also seems to me that this fix is missing from *most* of the toolsets handled by build.bat, so it's not clear why it works for anything other than metrowerks, msvc, and vc7. Note that you don't need to build bjam with mingw to use it later with mingw. If you have any of the other toolsets listed above, you can just build bjam once with that. HTH, -- Dave Abrahams Boost Consulting www.boost-consulting.com