From: John P. <jo...@cu...> - 2008-01-30 07:10:18
|
Hi Brian, Brian Dessent wrote: > John Pye wrote: > > >> I'm puzzled about what this error message means. Is it simply that I >> must create a while new set of Boost DLLs that I can use with GCC 4? Why >> is the error message coming from a missing file in libstdc++.a -- does >> that mean that I am actually statically linking against Boost? (I >> thought I was dynamically linking, but perhaps I was wrong?) >> > > Whether you are linking staticically or dynamically depends on how you > configured and built boost. You can tell by looking at whether you have > a just libboost*.a or libboost*.dll.a+libboost*.dll. > My Boost lib directory had .a files as well as .dll files. I discovered, using MinGW GCC 3.4.5, that the presence of the .a files is causing static linking (I should have realised that). So I delete the .a files and I get dynamic linking. Woops. I guess I should have these DLLs and static libraries in different directories, so that I can select which I want. Cheers JP |