Fork me on GitHub

Ubuntu 64 GCC 编译 32 位程序

安装

sudo apt-get install build-essential module-assistant  

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

编译

gcc -m32 hello.c

参考资料:

posted @ 2022-05-20 11:03  小a的软件思考  阅读(247)  评论(0编辑  收藏  举报