How to build a gcc multilib tool chain?

强颜欢笑 提交于 2019-12-10 22:45:01

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!