gcc 4.6.0 with llibgomp for mingw64

Alen Skondro askondro@gmail.com
Wed Mar 2 18:30:00 GMT 2011


I'm trying to build gcc 4.6.0 with libgomp targeting i686-w64-mingw32
and the issue is that it installs the libgomp.a library but doesn't
install omp.h anywhere...

I had to explicitly specify to build libgomp (--enable-libgomp)
otherwise no libgomp.a would be built.

pthread is installed.

configure using cygwin:

#../gcc/configure --target=i686-w64-mingw32 --build=i686-pc-cygwin
--prefix=/mingw-cross/ --disable-nls --with-gmp=/mingw-cross/
--enable-sjlj-exceptions --disable-multilib --enable-libgomp
--enable-languages=c,c++
#make install

After make install all I have is libgomp.a and libgomp-1.dll in
/mingw-cross/i686-w64-mingw32/
lib but no omp.h. Is that expected for mingw?

Maybe this this material for the mingw64 project anyway ...



More information about the Gcc-help mailing list