c pre-processor

This commit is contained in:
pkivolowitz 2023-01-15 12:02:06 -06:00 committed by GitHub
parent deeebbcddf
commit 1c15934889
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -182,6 +182,23 @@ Often, you will want to enable the debugger `gdb`. Do this:
gcc -g main.s
```
### The C Pre-Processor
If you want `gcc` to run your code through the C pre-processor
(for handing `#include` for example), name your assembly language
source code files with a capital S. So, on Linux:
`gcc main.s`
Will not go through the C pre-processor but
`gcc main.S`
will.
See the [Apple Silicon](./more/apple_silicon/README.md) chapter for
more information.
### Programs called by the "Compiler"
Using gcc to "compile" a program causes the following to be called