From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-01-09 01:14:45
David Abrahams wrote:
> Vladimir Prus <ghost_at_[hidden]> writes:
>>David Abrahams wrote:
>>>It would help a bit if I could get the testing program to show me the
>>>build commands it executes...
>>We'd have to tweak TestCmd.py for that... around like 407...
> I added a --verbose option to BoostBuild.py. Seems to work.
> As a result I note that the last command-line has somewhat suspicious
> g++ -g -o bin\gcc\debug\main-target-e\e.exe bin\gcc\debug\main-target-e\e.o bin\gcc\debug\d.dll -Wl,-Bdynamic -Wl,-Bstatic bin\gcc\debug\d.dll -Wl,-Bdynamic -Wl,-Bstatic -Wl,-Bdynamic
Yes, it has some repetition. Do you remember that in V1 all libraries are
mentioned twice on the command line? This is the same trick.
(It does not work in all cases, but without it, libraries just won't link
correctly most of the time).
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