Re: [Rd] Missing libpthread in RTools

2010-10-19 Thread Prof Brian Ripley
On Tue, 19 Oct 2010, Davor Cubranic wrote: On 2010-10-15, at 4:39 PM, Duncan Murdoch wrote: On 15/10/2010 4:53 PM, Davor Cubranic wrote: 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 error

Re: [Rd] Missing libpthread in RTools

2010-10-19 Thread Davor Cubranic
On 2010-10-15, at 4:39 PM, Duncan Murdoch wrote: > On 15/10/2010 4:53 PM, Davor Cubranic wrote: >> 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 funct

Re: [Rd] Missing libpthread in RTools

2010-10-15 Thread Duncan Murdoch
On 15/10/2010 4:53 PM, Davor Cubranic wrote: 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 '-stati

[Rd] Missing libpthread in RTools

2010-10-15 Thread Davor Cubranic
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: