64位centos7 编译 32位文件出错
来源:互联网 发布:淘宝的内部优惠微信号 编辑:程序博客网 时间:2024/05/24 01:50
[tian@lixixi demo]$ gcc -m32 str.c -o app
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.8.5/libgcc_s.so when s
earching for -lgcc_s/usr/bin/ld: cannot find -lgcc_s
collect2: error: ld returned 1 exit status
这个是由于没有32位的对应安装包
[tian@lixixi demo]$ yum search libgcc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
=================================== N/S matched: libgcc ====================================
libgcc.i686 : GCC version 4.8 shared support library
libgcc.x86_64 : GCC version 4.8 shared support library
Name and summary matches only, use “search all” for everything.
我这个错误执行以下命令即可:
[root@lixixi ~]# yum install libgcc.i686
阅读全文
0 0
- 64位centos7 编译 32位文件出错
- 64位CentOS7下编译openjdk7u60
- centos7 64位编译hadoop源码
- 64位开发环境下编译32位dll文件
- 64位开发环境下编译32位dll文件
- 编译Android系统32位出错
- CentOS7(64位)下运行IPython3出错解决办法
- 64位Linux 编译32位程序
- Linux 64位 编译32位程序
- 32位 与64位编译
- openssl windows编译 32位&64位
- openssl windows编译 32位&64位
- 64位 Linux 编译32位应用程序
- openssl windows编译 32位&64位
- 64位系统编译32位程序
- 64位 Linux 编译32位应用程序
- linux 64位编译32位protobuf
- 64位ubuntu编译32位程序
- Nginx服务器下ThinkPHP5访问出现404以及URL隐藏index.php
- 负载均衡以及四层和七层负载均衡的区别
- 正则表达式-匹配IP、域名
- Java数据类型
- CodeForces
- 64位centos7 编译 32位文件出错
- frame、bounds与center属性
- 取近似值
- spark 2.1 reduce
- win10磁盘占用100%
- [bigdata-077] maven+mybatis+mysql 数据库 mybatis xml文件方式 示例
- Android-四种进程类型
- Nginx.conf 中的location 详解
- http协议的消息头的用法作用