Building boost under mingw: bjam invokes VC7?? (part II: typo cor rected)
Oops, sorry, Ben and Heinquoi- that was a typo :P
What I *meant* to say was:
Starting bjam with:
bjam -sTOOLS=mingw install
causes bjam to invoke VC7 instead of gcc. Same thing if quotes are used (as
described in the documentation:
bjam "-sTOOLS=mingw" install
I ran it again, making sure that I actually used -sTOOLS and not -sTOOL, and
I still see the described behavior.
Again, this is using boost 1.31.0, msys and mingw on Windows 2000, and a
prebuilt version of bjam recently downloaded from sourceforge.
Anyone have any ideas how to make bjam (properly) invoke gcc?
-Chris Brewer
-----Original Message-----
From: Ben Hutchings [mailto:ben.hutchings@businesswebsoftware.com]
Sent: Tuesday, July 13, 2004 8:03 AM
To: boost-users@lists.boost.org
Subject: RE: [Boost-users] building boost under mingw: bjam invokes
VC7??
Christopher Brewer
I recently attempted to build and install boost 1.31.0 using msys (i.e., mingw). I enter the boost directory and start bjam with:
bjam -sTOOL=mingw install
...and then I see bjam invoking vc7 instead of gcc. <snip>
The variable is called TOOLS, not TOOL.
"Brewer, Christopher"
Oops, sorry, Ben and Heinquoi- that was a typo :P What I *meant* to say was:
Starting bjam with: bjam -sTOOLS=mingw install causes bjam to invoke VC7 instead of gcc. Same thing if quotes are used (as described in the documentation: bjam "-sTOOLS=mingw" install
I ran it again, making sure that I actually used -sTOOLS and not -sTOOL, and I still see the described behavior.
Again, this is using boost 1.31.0, msys and mingw on Windows 2000, and a prebuilt version of bjam recently downloaded from sourceforge.
Anyone have any ideas how to make bjam (properly) invoke gcc?
This is *very* strange. You appear to be doing everything right. Could you please enter the following lines: bjam -f- "-sTOOLS=mingw" install ECHO $(TOOLS) ; ^Z Note the space before the semicolon. ^Z means control-Z on your keyboard. Post the output here. Also do: bjam -d+5 "-sTOOLS=mingw" install > bug.out and then *compress* bug.out and post it on some FTP site or web page and tell us where to get it. If you can't make it available for download, please email the result to me privately (compressed). -- Dave Abrahams Boost Consulting http://www.boost-consulting.com
It seems to me, you read http://www.boost.org\tools\build\v1\mingw-tools.html, that the path of mingw is not defined at the absense of parameter. You could define it that: Bjam -sMINGW_ROOT_DIRECTORY=c:\your_path_to_mingw -sTOOLS=mingw install Or if your path has a space in its name ( but i think is not possible for the good work of mingw, i am not sure.) Bjam "-sMINGW_ROOT_DIRECTORY=c:\your_path_to_mingw -sTOOLS=mingw" install
-----Message d'origine----- De : boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] De la part de David Abrahams Envoyé : mercredi 14 juillet 2004 17:49 À : boost-users@lists.boost.org Objet : [Boost-users] Re: Building boost under mingw: bjam invokes VC7?? (part II: typo cor rected)
"Brewer, Christopher"
writes: Oops, sorry, Ben and Heinquoi- that was a typo :P What I *meant* to say was:
Starting bjam with: bjam -sTOOLS=mingw install causes bjam to invoke VC7 instead of gcc. Same thing if quotes are used (as described in the documentation: bjam "-sTOOLS=mingw" install
I ran it again, making sure that I actually used -sTOOLS and not -sTOOL, and I still see the described behavior.
Again, this is using boost 1.31.0, msys and mingw on Windows 2000, and a prebuilt version of bjam recently downloaded from sourceforge.
Anyone have any ideas how to make bjam (properly) invoke gcc?
This is *very* strange. You appear to be doing everything right. Could you please enter the following lines:
bjam -f- "-sTOOLS=mingw" install ECHO $(TOOLS) ; ^Z
Note the space before the semicolon. ^Z means control-Z on your keyboard. Post the output here.
Also do:
bjam -d+5 "-sTOOLS=mingw" install > bug.out
and then *compress* bug.out and post it on some FTP site or web page and tell us where to get it. If you can't make it available for download, please email the result to me privately (compressed).
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
"Heinquoi"
It seems to me, you read http://www.boost.org\tools\build\v1\mingw-tools.html, that the path of mingw is not defined at the absense of parameter. You could define it that: Bjam -sMINGW_ROOT_DIRECTORY=c:\your_path_to_mingw -sTOOLS=mingw install Or if your path has a space in its name ( but i think is not possible for the good work of mingw, i am not sure.) Bjam "-sMINGW_ROOT_DIRECTORY=c:\your_path_to_mingw -sTOOLS=mingw" install
That's all irrelevant to the problem, which I hope is solved by now. Forgetting to set MINGW_ROOT_DIRECTORY can never cause bjam to invoke vc7 instead of mingw. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com
participants (3)
-
Brewer, Christopher
-
David Abrahams
-
Heinquoi