astrogeek |
10-01-2022 01:22 PM |
Your question is not really clear to me, but if I interpret it to mean this:
Quote:
How do I have gcc save intermediate files when compiling an executable?
|
See man gcc and look at the -save-temps option.
Further, your example specifically names the assembler file using the -o option, but -o names the primary output file only, so if continuing to object and linker phases the earlier intermediate files will be named based on that but you may not be able to name them explicitly (but see the -dumpbase option for more possibilities).
Quote:
Originally Posted by BudiKusasi
(Post 6383719)
Please explain every gcc cli correct steps
|
That is asking too much and would deprive you of the learning experience!
|