Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add note on GCC compiler flags #6

Open
gbowne1 opened this issue Feb 20, 2024 · 0 comments
Open

Add note on GCC compiler flags #6

gbowne1 opened this issue Feb 20, 2024 · 0 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation good first issue Good for newcomers help wanted Extra attention is needed

Comments

@gbowne1
Copy link
Owner

gbowne1 commented Feb 20, 2024

Add a note on GCC compiler flags

-A needs an assertion
-B needs a argument
-D needs a macro name (Defines a macro with the specified name)
-F needs a path (Specifies a directory to search for header files)
-I needs a path ( Adds a directory to the list of directories to be searched for header files during preprocessing )
-J needs an argument
-L needs an argument (specifies the linking directory) (specify a directory to search for libraries during the linking phase)
-R needs an argument
-T needs an argument
-U needs a macro name (This flag is used to undefine a macro)
-d needs an argument
-e needs an argument
-g includes debug symbols
-h needs an argument
-l (lower case I) needs an argument
-o needs a file name (specifies the output files)
-l (lower case L) needs and argument (This flag is used to link against a specific library)
-u needs an argument (used in symbol linking)
-v is verbose?
-x needs an argument (used to specify the language of the input files)
-z needs an argument

Needs moar research.

@gbowne1 gbowne1 added bug Something isn't working documentation Improvements or additions to documentation help wanted Extra attention is needed good first issue Good for newcomers labels Feb 20, 2024
@gbowne1 gbowne1 moved this to Todo in ProgrammerNotes Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation good first issue Good for newcomers help wanted Extra attention is needed
Projects
Status: Todo
Development

No branches or pull requests

1 participant