Hi list,
>From where does the dependency of programs built by gcc to
libwinpthread-1.dll ?
If I build a simple program like this :
int main()
{
printf("foo");
}
and compile with :
gcc -o foo.exe foo.c
the resulting foo.exe program does not depend on libwinpthread-1.dll
but if I add a reference to some function:
char clock_gettime ();
int main()
{
printf("foo");
return clock_gettime();
}
then libwinpthread-1.dll gets linked in, without me changing the compile
command.
Where is this behavior configured?
Thanks for any clue,
Fabrice
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users