mingw32 + libgomp

Daniel Franke franke.daniel@gmail.com
Sun Apr 15 19:09:00 GMT 2007


On Sunday 15 April 2007 20:50:27 FX Coudert wrote:

FX,

> To have libgomp built, I have to specify --enable-libgomp explicitly.
> I don't see it in your configure command-line.

thanks for your fast reply. Usually, for native linux builds, one gets libgomp 
by default. It didn't occur to me that it might be as easy as a configure 
switch ... 


> >> --enable-threads=posix
>
> Are you sure you want POSIX threads? I use them on mingw, along with
> the pthreads-win32 library, but the default on mingw32 otherwise
> should be --enable-threads=win32, I think.

Nope, actually I'm not. I tried 'win32' before, but assumed the switch to be 
involved due to a comment in libgomp/configure.tgt:26:
# Since we require POSIX threads, assume a POSIX system by default.

Misread that line.


Currently rebuilding. Thanks for your help!

	Daniel



More information about the Gcc-help mailing list