[PPL-devel] building PPL with MSYS/mingw(-w64)

Ruben Van Boxem vanboxem.ruben at gmail.com
Sun Apr 17 13:01:36 CEST 2011


Hi,

I am trying to build ppl version 0.11.x,  but failing miserably. I'm
using GCC 4.5.2 for x86_64-w64-mingw32 with this configure:

>../../src/ppl-0.11.2/configure --host=x86_64-w64-mingw32 --disable-static --enable-shared --with-gmp-prefix=/home/ruben/mingw64/x64/libs CFLAGS="-flto -mtune=core2 -fomit-frame-pointer -momit-leaf-frame-pointer" LFLAGS="-flto -fwholeprogram" --prefix=/home/Ruben/mingw64/x64/libs

Make fails with this:

> /bin/grep: /mingw64/lib/../lib64/libstdc++.la: No such file or directory
> /bin/sed: can't read /mingw64/lib/../lib64/libstdc++.la: No such file or directory
> libtool: link: `/mingw64/lib/../lib64/libstdc++.la' is not a valid libtool archive
> make[3]: *** [libppl.la] Error 1

No other library needs these .la files, and for mingw toolchains are a
pest (due to relocations which are common and necessary on Windows.
The paths you see are not present on my system, they are a result of
some path still present from the build of the cross-compilation
toolchain.

Any help is appreciated. Thanks!

Ruben



More information about the PPL-devel mailing list