Development Environment for Linux C Programs

Source: Internet
Author: User

Development Environment for Linux C Programs

1. Composition of the Development Environment

2. gcc compiler

Multi-platform compiler with powerful functions and superior performance. gcc can compile and connect the c and c ++ language source programs into executable files.

Files suffixed with. c and c source code files

A file suffixed with. h is the program's header

Files suffixed with. I are pre-processed C source code files.

A file suffixed with. o is the target file after compilation.

. S is a suffix file, which is the source code file of the assembly language.

Gcc compiler options

-O requires output of executable files

-C requires the compiler to output the target code without outputting executable files.

-G requires the compiler to output debugging information during compilation.

3. glibc

Is the main function library of C in linux.

Provides a C library for system calls and basic functions. It is used by all dynamic and connected programs.

4. glibc_header

If the system header file is missing, many C Programs that use system functions cannot be compiled.

View glibc version

Ls/lib -*

View gcc version

Gcc -- version

 

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.