|
Boost : |
From: Janusz Piwowarski (jpiw_at_[hidden])
Date: 2005-07-18 08:00:16
Vladimir Prus wrote:
> Alo Sarv wrote:
>
>> As noted at:
>>
> http://engineering.meta-comm.com/boost-regression/CVS-HEAD/developer/output/Bronek-bin-boost-libs-program_options-test-options_description_test_dll-test-mingw-3_4_2-debug.html
>>
>> progopt library fails to link on mingw as dll. After some searching
>> around, I found out that using -Wl,--enable-runtime-pseudo-reloc flag
>> during linking, it works properly.
>>
>> However, one should be warned that this flag should not be used when
>> some of the code isn't compiled with the same compiler (e.g. mixing
>> dlls/binaries from different compilers) - the resulting binary will
>> always crash.
>
> Thanks for looking into it!
>
> Two questions:
> 1. What does the flag do?
> 2. Somebody else reported successfull built with mingw. Do you know
> if this problem is specific to some version of mingw?
I've checked that it's problem with mingw delivered with latest dev-cpp
distribution. With "stand-alone" mingw version (20040916) it works fine.
-- Janusz
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk