问题
I'm trying to build a gcc multilib tool chain on AMD64 version of fresh ubuntu 14.04 installation. It only has a x86_64 gcc and g++ installation without multilib support. My configuration line is
../configure --disable-checking --enable-languages=c,c++ --enable-multiarch --enable-multilib --enable-shared --enable-threads=posix --with-system-zlib
When I make it fails somewhere around building 32bit libgcc complaining about a missing sys/cdefs.h
I can't post a build log right now but the error occurs in the folder objdir/x86_64-unknown-linux-gnu/32/libgcc/
What am I doing wrong?
来源:https://stackoverflow.com/questions/23042854/how-to-build-a-gcc-multilib-tool-chain