10月01, 2018

64bit Linux tries to compile 32bit and fails

64bit Linux tries to compile 32bit and fails

On a 64bit Ubuntu 16.04 system, gcc tries to build for amd64, x86_64 and x86. The x86 fails since I have no sys/cdefs.h for it installed. alt need to install -->

sudo apt-get install gcc-multilib
sudo apt-get install g++-multilib

本文链接:https://harry.uno/post/gcc-compile-32bit-in-64bitsys.html

-- EOF --

Comments