Albrecht Schlosser wrote:

>> And the fltk-config has:
>>
>> LDFLAGS="-mwindows -L/usr/local/lib -mno-cygwin -Wl,--enable-auto-import
>> -Wl,--enable-runtime-pseudo-reloc"
> 
> fltk-config with which (configure) arguments? I don't see it
> in my build.

Ah, OK. That's from the fltk-config of a fltk-1.1.10 build that I did 
with --enable-shared set.

I don't actually have a "shared" build of fltk-1.3 at present, as I 
always link static to fltk-1.3 to avoid any dependency or API/ABI issues!

> http://www.cygwin.com/ml/cygwin/2009-03/msg00663.html
> 
> "It has started to happen now because libstdc++ is a DLL for the
> first time.  We've fixed upstream ld to enable the feature by default
> and these warnings will disappear in the next binutils release."

OK, I see. Yup, that'll do it, so we need to enable auto-import even for 
*static* builds with gcc 4.3 or later, then. Bother.

And that may be a pain if libstdc++ now needs to be loaded as a DLL, as 
that will reduce the portability of my static builds substantially - now 
I need to distribute the exe *and* a DLL, assuming most folk will not 
have the mingw-libstdc++ DLL installed by default.
Double bother...
-- 
Ian

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to