Program compilation in Linux-general Linux technology-Linux programming and kernel information. The following is a detailed description. Ftp: // FTP_hllinux: 123456@211.95.73.26/Mr Tang/linuxprogram compilation. ppt
Linux and C are a natural combination, and they have been closely linked since their birth: The predecessor of Linux, Unix, was widely accepted in the world after being rewritten in C language; C language is also developed and popular in the process of compiling and spreading Unix.
The C language compilation tool provided by Linux is gcc. In addition to common C language programs, Gcc also supports C ++, Objective C, and other languages. Sugon 4000 also provides Intel C/C ++ compiler-icc, and sugon 4000A provides pgi c/C ++ compiler
-Pgcc
Similar to other systems, the C language program runs in three steps:
Compile source code
Use a compilation tool to compile the connection and generate executable files
Run the executable file
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