Hi!

I'm having problems building multilib capable gcc/mingw.
It bails out with this:

/opt/cross/x86_64-w64-mingw32/bin/ld: skipping incompatible /opt/cross/x86_64-w64-mingw32/lib/libkernel32.a when searching for -lkernel32 /opt/cross/x86_64-w64-mingw32/bin/ld: skipping incompatible /opt/cross/x86_64-w64-mingw32/lib/libkernel32.a when searching for -lkernel32 /opt/cross/x86_64-w64-mingw32/bin/ld: skipping incompatible /opt/cross/mingw/lib/libkernel32.a when searching for -lkernel32 /opt/cross/x86_64-w64-mingw32/bin/ld: skipping incompatible /opt/cross/mingw/lib/libkernel32.a when searching for -lkernel32 /opt/cross/x86_64-w64-mingw32/bin/ld: skipping incompatible /opt/cross/x86_64-w64-mingw32/lib/libkernel32.a when searching for -lkernel32 /opt/cross/x86_64-w64-mingw32/bin/ld: skipping incompatible /opt/cross/x86_64-w64-mingw32/lib/libkernel32.a when searching for -lkernel32 /opt/cross/x86_64-w64-mingw32/bin/ld: skipping incompatible /opt/cross/x86_64-w64-mingw32/lib/libkernel32.a when searching for -lkernel32 /opt/cross/x86_64-w64-mingw32/bin/ld: skipping incompatible /opt/cross/x86_64-w64-mingw32/lib/libkernel32.a when searching for -lkernel32 /opt/cross/x86_64-w64-mingw32/bin/ld: skipping incompatible /opt/cross/x86_64-w64-mingw32/lib/libkernel32.a when searching for -lkernel32 /opt/cross/x86_64-w64-mingw32/bin/ld: skipping incompatible /opt/cross/mingw/lib/libkernel32.a when searching for -lkernel32 /opt/cross/x86_64-w64-mingw32/bin/ld: skipping incompatible /opt/cross/x86_64-w64-mingw32/lib/libkernel32.a when searching for -lkernel32 /opt/cross/x86_64-w64-mingw32/bin/ld: skipping incompatible /opt/cross/x86_64-w64-mingw32/lib/libkernel32.a when searching for -lkernel32


builder@friend:/opt/cross/x86_64-w64-mingw32$ ls -l
total 92
drwxrwxr-x  2 builder builder  4096 Jan 12 11:34 bin
drwxrwxr-x 10 builder builder 36864 Jan 12 11:34 include
drwxrwxr-x  2 builder builder 32768 Jan 12 11:34 lib
drwxrwxr-x  2 builder builder 20480 Jan 12 11:34 lib32
lrwxrwxrwx  1 builder builder     3 Jan 12 11:36 lib64 -> lib


binutils is configured like this:
--prefix=/opt/cross --target=x86_64-w64-mingw32 --enable-targets=x86_64-w64-mingw32,i686-w64-mingw32
gcc like this:
--prefix=/opt/cross --libexecdir=/opt/cross/lib --target=x86_64-w64-mingw32 --enable-languages=c,c++ --disable-libstdcxx-pch --enable-checking=release --enable-libgomp --enable-threads=posix --enable-multilib --enable-version-specific-runtime-libs --with-system-zlib


I'm not sure I really need --enable-multilib on gcc, as it seems like it is default.

mingw-w64-crt and winpthread was built successfully.

I'm I doing something wrong?
binutils-2.31.1 and gcc-8.2.0 was used.



_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to