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