Notes on Building C development environment in Linux

Source: Internet
Author: User
Notes on building the C development environment in Linux-Linux general technology-Linux programming and kernel information. for details, refer to the following section. Linux and C are inherently puzzled. the Linux operating system kernel is mainly written in C, and many software in Linux is also written in C. The C development environment in Linux is different from that in Windows. in Linux, a complete C development environment consists of the glibc function library, the compiler gcc, and the system header file glibc_header. In addition, in a large project, due to the complex file relationships among multiple files, it is better to write a make file to indicate the relationship between files and compile methods, so we need to install the configuration and makefile library files. if the project uses the database, we also need to install the configuration database (we will take 0racle11g as an example ); finally, when multiple software developers write programs, in order to reduce the burden on the server and improve work efficiency, generally, it is written on the local machine and then transmitted to the server through ftp. Therefore, we also need to configure the ftp service.
To sum up, we set up a relatively complete C development environment, starting from installing a Linux virtual machine, we need to do the following:
1. install the Linux Virtual System (Red HatLinux6.3)
2. configure the FTP service (vsftpd) to facilitate file transfer between the host and the virtual machine
3. configure the C compiling environment, install the library glibc, the compiler gcc, the system header file glibc_header, and install the make library files.
4. test the building result. compile a simple C applet and make file, and run the compilation and operation in the build environment.
5. install Oracle11g

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.