From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-08-02 02:26:20
Prashant Thakre wrote:
> On 02/08/07, Robert Ramey <ramey_at_[hidden]> wrote:
>> I'm getting the following from my bjam build with 1.34.
>> Its picking up the mt command from my shell. I don't find any there mt
>> in my system although its referred to in the msvc.jam file
>> I can do the samething with msvc-7.1 with no problem
>> Any help appreciated.
>> Robert Ramey
>> Linker output:
>> Creating library
>> and object
>> mt: Unknown option -n
>> Usage: mt [-vV] [-[t|f] tapename] command [count]
This message suggests you have some other 'mt' binary somewhere. Do you
have any idea what that might be?
> mt is the Manifest Tool which should be present in the Visual Studio
> installation directory. Also, it is available in the Microsoft Windows
> Software Development Kit (SDK).
I note that in some cases, 'mt' is invoked without calling the setup script.
Here's the relevant code:
if ! [ os.name ] in NT
flags msvc.link .MT $(cond) : $(command[$(i)])$(manifest-tool) -nologo ;
flags msvc.link .MT $(cond) : $(manifest-tool) -nologo ;
Anybody knows the rationale for this logic?
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