mingw32 + libgomp

Daniel Franke franke.daniel@gmail.com
Sun Apr 15 18:43:00 GMT 2007


Hi all.

Using 4.2 sources, I now have a i686-pc-mingw32 linux-to-windows 
cross-compiler up and running. Unfortunately, building an OpenMP enabled 
program (-fopenmp) fails with

> libgomp.spec: No such file or directory


I assumed libgomp for OpenMP enabled programs would be available for this 
configuration, but:

> ../../svn/gcc-4.2/configure --prefix=[...] --with-gmp=[...] \
> --with-mpfr=[...] --with-sysroot=[...] --disable-nls \
> --enable-threads=posix --enable-shared --disable-win32-registry \
> --with-system-zlib --enable-languages=c,c++,fortran --disable-bootstrap \
> --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i686-pc-mingw32     
> [...]
> *** This configuration is not supported in the following subdirectories:
>     target-libmudflap target-libgomp target-libffi target-zlib 
target-libjava target-libada gnattools zlib target-libobjc target-boehm-gc


Could someone elaborate on what's missing to get libgomp for a target-mingw32 
cross-compiler? 

Thanks
	Daniel


P.S. In PR30546 FX states "mainline now fails to build on my mingw setup 
because libgomp wants to run makeinfo" which indicates that there is some way 
to get libgomp running on mingw32?! 



More information about the Gcc-help mailing list