Organize points linux--gcc common options every day

Source: Internet
Author: User

Option name

Role

-O

Generate targets (. I,. s,. O, executables, etc.)

-C

Notifies GCC to unlink step, which is to compile the source and generate the target file at the end

-E

Only run the C pre-compiler

-S

Tells the compiler to stop compiling assembly language files, resulting in the assembly language file extension. s

-wall

Warn GCC where the source file code is problematic

-idir

Directory path to add the Dir directory to the search header file

-ldir

Directory path to join the Dir directory to the search library

-llib

Link Lib Library

-G

Embed debug information in the destination file so that debugging programs like GDB debug

Organize points linux--gcc common options every day

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.