Re: mingw32 + libgomp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux