Am Tue, 30 Apr 2019 06:16:00 +0000 schrieb ChangLoong: > On Tuesday, 23 April 2019 at 23:45:05 UTC, Iain Buclaw wrote: >> >> It's been applied to gcc-trunk, it'll be in the RC snapshot, >> which should be available some time this week. > > Great work, I can install it from Debian experimental, but when I build > by myself get this error: > my configure is: ./configure --prefix=/opt/gdc > --enable-languages=c,c++,d --disable-libphobos --enable-lto > --enable-checking=yes --enable-gold --enable-stage1-languages=c,c++ > > do you know do to bypass the error `/usr/bin/ld: skipping incompatible > //usr/lib/x86_64-linux-gnu/libc.so when searching for -lc` ? I try add > -L/lib/gcc/x86_64-linux-gnu/9/ to LDFLAGS but not work.
You probably need to install libc6-dev-i386 to build a multilib compiler from source. -- Johannes