From: Eoin boost.build (eoin-keyword-boost.jam.dca6c0_at_[hidden])
Date: 2006-01-19 06:39:13
>>Hello, Im having a weird problem when using boost.serialisation with my
>>programs where a ".EXP" and ".LIB" file is being generated along with the
>>".EXE" when all Ive specified is for the executable to be built.
> Are the EXP and LIB files associared with Boost.Serialisation?
> If a DLL contains exported symbols, msvc generates an export file (EXP)
> and entries to link against (LIB).
I just scanned through the .EXP and .LIB files with a text editor, they
are full of references to what appear to be the functions associated with
saving and loading the different classes in my program. No DLL is being
built however; the application is built as a single EXE with every library
staticially linked into it.
>>Everything works flawlessly until I include and use the
>>boost.serialisation library. Technicially everything continues to work
>>but a ".EXP" and ".LIB" file get built also. This is only a minor
>>problem but it does slow down build times and so can get annoying.
> It could be that the Boost.Serialisation header is exporting some symbols
> and these are exported in the EXE, causing the EXP and LIB files to be
> generated. Are you adding some define that is causing the symbols to be
> exported (e.g. MAKING_SERIALISATION_DLL) or the auto-link code?
I don't believe I'm adding any such define but I'll play around with the
Jamfile a bit to see if I am. Yes I am using the auto-link code.
Kind regard, Eoin.
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