Boost logo

Boost-Build :

Subject: [Boost-build] msvc: building executables broken?
From: J. van der Wulp (jwulp_at_[hidden])
Date: 2008-11-10 05:51:04


Hello,

Building executables with msvc (2008 Express) on Windows XP seems broken
at least when running from a shell without the environment setup. There
is a problem with finding mt:

'mt' is not recognized as an internal or external command

which can be fixed by changing line 871 of msvc.jam from:

toolset.flags msvc.link .MT $(cpu-conditions) : $(manifest-tool) -nologo ;

to

toolset.flags msvc.link .MT $(cpu-conditions) :
$(setup-$(c))$(manifest-tool) -nologo ;

which loads the environment before executing the command.

Best,

Jeroen


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk