This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mingw32 + libgomp


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.

Note that I'm not saying that libgomp will work with --enable- threads=win32 :) All I'm saying is that --enable-threads=posix requires a POSIX threads library, which is not present on mingw unless you install one (i.e. pthreads-win32). In that case, I can attest that libgomp works.


I never bothered enough to try with --enable-threads=win32 because I had a working installation (with pthreads-win32), but I'd nevertheless be interested in knowing if building with --enable- libgomp --enable-threads=win32 yields a working libgomp. So, if you can be so kind as to report your success or failure, I'd be very grateful!

FX


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]