Hi, ok, I've added new lines to the email: I go there http://www.boost.org/doc/html/jam/building.html I do:C:\Documents and Settings\src\boost\tools\jam\src>build mingw --debug (like explained) A new folder named bin.ntx86.debug is added after I go there http://www.boost.org/doc/html/bbv2/installation.html : 1:(done) 2:I do:C:\Documents and Settings\src\boost\tools\build\v2> bjam --version Instead of seing:Boost.Build V2 (Milestone 11)Boost.Jam 03.1.14 I see:syntax error at EOFBoost.Build V2 (Milestone 11)Boost.Jam 03.1.14 3:I open the user-config.jam file (like explained) and I modify the file, the modification is the following: import toolset : using gcc ; # GCC configuration # Configure gcc (default version) using gcc : : "C:\mingw\bin\g++" ; 4:I copy bjam.exe from C:\Documents and Settings\src\boost\tools\build\v2 to C:\Documents and Settings\src\boost\tools\build\v2\example\hello and I run bjam (like explained): C:\Documents and Settings\src\boost\tools\build\v2\example\hello>bjam I get the following message: C:\Documents and Settings\src\boost\tools\build\v2\kernel\modules.jam:280 :in modules.importIMPORT error:rule gcc unknown in module "toolset." ... ...... ... Where is my error(4)? Thanks, David _________________________________________________________________ Créez un blog Messenger pour partager facilement toutes vos photos de vacances ! http://www.windowslive.fr/spaces/default.asp
david shaw wrote:
3:I open the user-config.jam file (like explained) and I modify the file, the modification is the following:
import toolset : using gcc ;
You should not change this line at all. I've just removed this line in SVN, as it's no longer necessary. - Volodya
ok but now I get the message (when I truy with gcc instead of g++ in the user-config.jam file):
"C:mingwbingcc n'est pas reconnu en tant que commande interne ou externe, un programme executable ou un fichier de commandes .."
.....
"...failled gcc.compile.c++ bin\gcc\debug\hello.o...
...skipped
david shaw wrote:
ok but now I get the message (when I truy with gcc instead of g++ in the user-config.jam file):
"C:mingwbingcc n'est pas reconnu en tant que commande interne ou externe, un programme executable ou un fichier de commandes .." .....
I don't know French, and I'll have to guess that this means.
"...failled gcc.compile.c++ bin\gcc\debug\hello.o... ...skipped
hello.exe for lack of hello.o... ...failed updating one target.. ...skipped one target..." What is the main problem?
First, you should use forward slashes in paths: C:/mingw/bin/gcc or quote backslashes: C:\\mingw\\bin\\gcc Second, although not relevant here, per http://boost.org/boost-build2/doc/html/bbv2/reference/tools.html#bbv2.refere... you should always specify the c++ compile commands, which is typically "g++", not "gcc". - Volodya
Hi,
to be by far more clear:
...
3:
Now I set the file user-config.jam like you have explained to me:
import toolset : using ;
# GCC configuration
# Configure gcc (default version)
using gcc : : "C:\mingw\bin\g++" ;
4:I copy bjam.exe from C:\Documents and Settings\src\boost\tools\build\v2 to C:\Documents and Settings\src\boost\tools\build\v2\example\hello
and I run bjam (like explained):
C:\Documents and Settings\src\boost\tools\build\v2\example\hello>bjam
I get the following message:
"C:mingwbing++ n'est pas reconnu en tant que commande interne ou externe, un programme executable ou un fichier de commandes .."
.....
"...failled gcc.compile.c++ bin\gcc\debug\hello.o... ...skipped
participants (2)
-
david shaw
-
Vladimir Prus