I've successfully built a multilib compiler on linux targeting both
x86_64-w64-mingw32 and i686-w64-mingw32. Using that compiler to compile
a native Windows compiler (what do you really call that? Crossed
compiler? Hosted?) with mingw-w64-crt configured with
"--enable-experimental" I get this (on Windows).
Internal error in stringer at /home/builder/binutils-2.31.1/gas/read.c:5366.
Please report this bug.
I get the same error with a simple Hello World in either C and C++ (alas
both gcc.exe and g++.exe produce the error)
If I compile mingw-w64-crt without "--enable-experimental" I do not see
that error.
Not sure if it means anything, but the crossed compiler is multilib.
cross-binutils is configured like this:
/home/builder/binutils-2.31.1/configure --prefix=/opt/cross
--target=x86_64-w64-mingw32
cross-gcc: /home/builder/gcc-8/configure --prefix=/opt/cross
--libexecdir=/opt/cross/lib --target=x86_64-w64-mingw32
--enable-languages=c,c++ --disable-libstdcxx-pch --enable-libgomp
--enable-threads=posix --with-sysroot=/opt/cross
crossed-binutils: /home/builder/binutils-2.31.1/configure
--prefix=/mingw64 --host=x86_64-w64-mingw32
crossed-gcc: /home/builder/gcc-8/configure --prefix=/mingw64
--libexecdir=/mingw64/lib --host=x86_64-w64-mingw32
--target=x86_64-w64-mingw32 --enable-languages=c,c++
--disable-libstdcxx-pch --enable-libgomp --enable-threads=posix
--
chs
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public