From: Christopher Cambly (ccambly_at_[hidden])
Date: 2008-01-11 17:30:36
Here is a patch to fix the vacpp.archive action in vacpp.jam. When
compiling for address-model=64, the command line looks like "ar ru-X
ru64...". Address-model=64 worked correctly in Boost-1.34.1 but seems to
have been broken since. I recall people have had problems with this in the
past since there must be a space between the -X and 64 for the ar command.
Simply switching the order of $(ARFLAGS:E="") and the ru option did not
work. That gave me a command line of 'ar "" ru...' in 32bit which is why I
removed the ':E=""' as well. As a result of some experimentation I settled
on the patch provided since it works in both address-model=32 and 64 giving
us the results we require.
(See attached file: vacpp.jam.patch)
XL C++ Compiler Development
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