It appears that Mingw gcc included in RTools is missing a dependent 
library. If I compile a program with '-lgomp' switch (for OpenMP 
support), I get a errors about undefined references to functions like 
'_imp__pthread_mutex_destroy'. Adding the '-static' switch, I get the 
following error:

    
c:/rtools/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: 
cannot find -lpthread

Sure enough, there is neither libpthread.a nor libpthread.dll under 
RTools' installation directory. I think these library are standard in 
Cygwin. Is there any chance to include them in RTools, too?

Davor

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to