Vladimir Prus wrote:
On Thursday 17 March 2005 18:41, Joel de Guzman wrote:


Perhaps this is a boost.build question, so I cross posted to
boost.build. Anyway...

I still get the spawn errors with MinGW. I investigated a bit more.
I tried bjam on libs/function/test. Using Boost build V1:

    bjam -sTOOLS=mingw test

everything works fine. Now, I switch to V2:

    bjam --v2 gcc

Then I get the spawn: No such file or directory error.
With the -d+2 option, I get:

gcc.archive
..\..\..\bin.v2\libs\test\build\gcc-3.2\debug\link-static\boost_test
_exec_monitor-gcc3.2-d_1.32.0.a

    del /f
"..\..\..\bin.v2\libs\test\build\gcc-3.2\debug\link-static\boost_tes
t_exec_monitor-gcc3.2-d_1.32.0.a"


Is 'del' in PATH? Can you invoke it from the command line?

Yes, yes.

    ar ruc
"..\..\..\bin.v2\libs\test\build\gcc-3.2\debug\link-static\boost_test
_exec_monitor-gcc3.2-d_1.32.0.a"


Is 'ar' in PATH? Can you invoke it from the command line?

Yes and yes. Those are the first things I tested. Anyway, I did some more investigation. Here's what I found out:

If I invoke "ar ruc..." manually, and build again. Everything's fine
and the build is completed in full. At first, I thought it was del \f
that's the problem because if I call it manually, I get "file not found"
(since it's not present at the first invocation). Then I realized it's
not the problem because when I put a copy of
boost_test_exec_monitor-gcc3.2-d_1.32.0.a, and do a full build again with the -a option, I get the spawn error again. I did notice however
that when I "touch" the boost_test_exec_monitor-gcc3.2-d_1.32.0.a
by opening it and saving it, the build again runs completely without
a problem.


I hope these clues will be of help. I am not sure what's happening
here so pardon me if these are dumb remarks.

Regards,
--
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests: 
https://lists.sourceforge.net/lists/listinfo/boost-docs

Reply via email to