Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-03-14 04:41:42


On Tuesday 14 March 2006 12:26, Reece Dunn wrote:

> Sorry, I have been busy. This was tested using a snapshot from
> 9/3/2006_at_8:56:
>
> cw.link.dll
> ..\..\..\bin.v2\libs\filesystem\build\cw-9.4\debug\boost_filesystem-cw94-gd
>-1_34.dll
> ..\..\..\bin.v2\libs\filesystem\build\cw-9.4\debug\boost_filesystem-cw94-gd
>-1_34.lib ### mwld Usage Warning:
> # The file
> '..\..\..\bin.v2\libs\filesystem\build\cw-9.4\debug\exception.obj' may be
> ignored unless it has one of the following # extensions: ".def"
> ### mwld Linker Warning:
> # No symbols were exported, deleting import library
> 'boost_filesystem-cw94-gd-1_34.lib' ...updated 6 targets...
>
> Does CW support the __declspec(dllexport) or older __export usage? Is so,
> is it being correctly detected for CW? Otherwise, a def file would be
> needed (which would work for older compilers or compilers like DigitalMars
> that don't have this mechanism).

Can you do to cw.jam, and in the last action, "link.dll",
remove the space character between

   -f

and

  "$(DEF_FILE)"

so that the command line contain

  -f"$(DEF_FILE)"

without any spaces. This will make this part of command line to
disappear when there's no def file set. Now, the command line is something like:

    ... -f @"../../../bin.v2/libs/filesystem/build/cw-9.4/debug/libboost_filesystem-cw94-gd-1_34.so.1.34.0.rsp"

so maybe the linker is treating all object files as def files and that leads to the problem?

Thanks,
Volodya

   

>
> However... it appears to be working for V1, so are the auto-link defines
> set up correctly?
>
> - Reece
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build


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