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举例:
参考:http://www.cyberciti.biz/faq/howto-install-c-cpp-compiler-on-rhel/
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下C/C++编译环境搭建
本文介绍如何在Linux环境下安装必要的软件包来搭建C/C++的编译环境。主要涉及的软件包括Autoconf用于配置源代码和Makefiles,Make/Automake用于生成可执行文件和其他非源文件,以及GCC/GCC C++ Compiler作为编译器。
248

被折叠的 条评论
为什么被折叠?



