Boost logo

Boost-Build :

From: Deane Yang (deane_yang_at_[hidden])
Date: 2005-12-19 18:11:59


Dear Boost.Build gurus,

I would like to build a DLL using cygwin gcc and export symbols using a
.def file. I have put "<def-file>exports.def" in the requirements for
the target. I have two questions:

1) When I build the DLL using Boost.Build v2, everything works perfectly
if I use the msvc toolset but it appears that when I use the gcc
toolset, the file "exports.def" is never used, and the symbols don't get
exported properly. Is there an easy way to fix this?

2) How can I put in conditional requirements distinguishing between:
- msvc
- gcc with cygwin (or mingw)
- gcc on a different platform

Deane


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