Boost logo

Boost Users :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-09-06 07:45:30


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 <pbin\gcc\debug>hello.exe for lack of<pbin\gcc\debug>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.reference.tools.compiler.gcc

you should always specify the c++ compile commands, which is typically "g++", not "gcc".

- Volodya


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net