[Scons-users] Scons not using MinGW to build although being told to
Dirk Bächle
tshortik at gmx.de
Wed Dec 17 18:30:24 EST 2014
On 17.12.2014 23:26, Andreas Krügersen wrote:
> Hi,
>
> [...]
>
> --------------------------------
> env = Environment(tools=[])
> env.Tool('mingw')
> #print env.Dump()
> Program('hello.cpp')
> --------------------------------
>
and as a quick addendum: since you configured your Environment "env", you should then use it to compile the Program with
env.Program('hello.cpp')
, instead of
Program('hello.cpp')
. The latter will use the so-called DefaultEnvironment, which is obviously not what you want.
Dirk
More information about the Scons-users
mailing list