In order to compile and use c/c++ under Linux you need following packages
linux系统编译需要的软件包如下:
1.=> autoconf : GNU's Autoconf is a tool for configuring source code and Makefiles.
2.=> make/automake : A GNU tool for controlling the generation of executables and other non-source files of a program from the program's source files.
3.=> GNU GCC C compiler (gcc) : The gcc package contains the GNU Compiler Collection version 4.1
4.=> GNU GCC C++ compiler (gcc-c++): This package adds C++ support to the GNU Compiler Collection.
centos举例:
yum install gcc gcc-c++ autoconf automake
参考:http://www.cyberciti.biz/faq/howto-install-c-cpp-compiler-on-rhel/
分享到:
相关推荐
linux查看centos系统信息大全 linux查看centos系统信息大全
CentOS 6.8编译安装LNMP环境
全新的linux Centos7的环境下,编译安装zabbix_agent的环境rpm包,亲测可用;详细文字描述:https://blog.csdn.net/qq_36896749/article/details/80196081
centos7、mac和ubuntu环境下编译的apr库。apr的全称是Apache Portable Runtime Project, 其官方网站是http://apr.apache.org/,apr的任务是建一个平台下各种方面的良好编程接口。
linux(centos7)系统准备工作
操作系统作业:编译Linux内核一、实验目的二、环境准备三、操作方法和步骤(1)下载内核并解压(2)配置项(3)编译内核(4)安装(5)重启虚拟机四、总结 一、实验目的 学习怎样重新编译Linux内核。 理解、掌握...
基于CentOS7 系统下的 ARM 开发板 QT 交叉编译工具,使CentOS7 系统下编译的 QT 程序能够运行在 ARM 开发板上。
gdal在linux上安装需要的文件比较多,附件包含gdal2.2.3及依赖的文件: proj-4.9.3.tar.gz geos-3.6.2.tar.gz jpegsrc.v9b.tar.gz hdf-4.2.13.tar.gz hdf5-1.10.1.tar.gz netcdf-4.4.1.tar.gz gdal-2.2.3.tar....
boost centos7编译好的完成版本可以直接引入使用
Linux Centos系统安装手册
CentOS7环境下编译的libwebsockets动态库和静态库,经过测试编译的库可以使用
linux centos ubuntu windows win10 win7 win8安装,不同系统都可以,只需在第一步下载不同系统即可。。。。。。。。。。。。。。。。
CentOS 6.2 Linux 安装截图详解
64位通过编译方式安装php出现的问题及解决方式
linux,centos,freebsd,ubuntu云服务器操作系统客户端登录工具下载,支持各个操作系统各种版本
postgresql14加postgis3.2在centos离线编译安装
centos7编译安装httpd
在CentOS7虚拟机环境下编译的boost 1.69版本的静态库和动态库,经过测试,编译的库能够正常使用
CentOS7环境下编译的openssl 3.0动态库和静态库,经过测试,库可以正常使用