Boost logo

Boost :

From: Edward Diener (eddielee_at_[hidden])
Date: 2005-07-24 10:04:58


Edward Diener wrote:
> John Maddock wrote:
>
> So what happens is that I build Comeau for Win32 and a slew of errors comes out
> when building the date_time and program_options libraries. I think this needs to
> be derailed somehow.

What I meant to say here is that the build process for Comeau, as it is now with
no support for building dlls, should only build the static library versions of
the libraries and not the dll versions of the librtaries. I do not know enough
of the Boost build process to know if this can be effected or not. I just found
it disconcerting that the Boost build process attempts to build the dll versions
of the libraries, and since there is no support for this in Comeau, and since
BOOST_ALL_DYN_LINK is defined for the dll versions of two libraries, the
end-user sees many compiler errors in the build process.

In my own copy of config/compiler/comeau.hpp I added:

#if defined(BOOST_ALL_DYN_LINK)
#undef BOOST_ALL_DYN_LINK
#endif

to the top of the file just after the:

#include "boost/config/compiler/common_edg.hpp"

in order to eliminate the compiler errors. Of course linker errors still occur
when attempting to build dlls, but this is more acceptable to me.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk