> >> to make FLTK's threads demo working on my Win7 machine, although it
> >> worked on another (XP) without that.


> Oh, I found the culprit. configure finds libpthread and defines
> HAVE_PTHREAD, but then linking fails with "undefined reference to 
> `_imp__pthread_create'". I #undef'd it, and then it works with
> win32 threads. :-)

Is that going to be peculiar to your setup, or will it affect general
users, do you think?


> Side note: to get rid of (gcc 4.5.2) dll dependencies I also
> configured with "LDFLAGS=-static", and now I don't have any
> non-Windows dependencies again. This needs more investigation
> how to make this automatic for default user setups...
> 
> W/o -static you get something like:
> 
> $ cygcheck test/threads | grep -v Windows
> <path-to-fltk-1.3>\test\threads.exe
>    C:\MinGW\bin\libgcc_s_dw2-1.dll
>    C:\MinGW\bin\libstdc++-6.dll


OK - that seems like a good thing, as I don't want to be distributing
the gcc DLL's just to make my app work...

Setting the -static option is OK? It does not do anything weird with
statically linking the MS system DLL's or anything bad like that?



SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

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

Reply via email to