Albrecht Schlosser wrote:
> MacArthur, Ian (SELEX GALILEO, UK) wrote:

>> or consider adding the "-static"
>> flag or one of its synonyms (-Bstatic etc.) to the command line to try
>> and force the linker to ignore the shared DLL's.
>>
>> This last idea seems simplest for our needs, but I worry about how
>> portable it might be (although it does seem to work OK for my setup
>> here, FWIW.)
> 
> ... portability seems to be the problem here. We can't do such a change 
> now in the RC phase of 1.1.10.
> 
>> However, what I am not clear on is whether, having set "-static" before
>> -lpng etc., we then need to reset to "-shared" before we link the win32
>> standard libs.
>> It seems that we don not, in my test, but perhaps I was just "lucky"...?
> 
> If we would want to be _correct_ then we would even have to _restore_ 
> the setting that the user set up before (on the linker command line), 
> thus this can't work at all. The only solution would be to tell the user 
> to specify such an option in his Makefile before invoking "fltk-config 
> ... --ldflags" and to reset it as s/he needs it thereafter.

Ian, I can't see an easy and portable solution for the system libs case, 
and I updated STR #2203 accordingly. I suggest to close the STR, and if 
you think that it's worth it, maybe open another one for FLTK 
1.4-feature (3.0?).

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

Reply via email to