Write two programs using gcc generate separate file
Answers
Answered by
0
Answer:
To summarize, the steps involved in compiling, linking, and running a program are:
- Compile the ``.c'' file containing the source code with a command such as. gcc -Wall -g -c hello.c.
- Compile the ``.c'' file containing the source code with a command such as. gcc -Wall -g -c hello.c. Link the ``.o'' file to produce an executable with a command such as. gcc -o hello hello.o -lm. Run the executable in the usual way.
pls mark brainliest
pls mark brainliestif it's helpful for you
Answered by
0
Answer:
3 GCC Command Options. When you invoke GCC, it normally does preprocessing, compilation, assembly and linking. The “overall options” allow you to stop this process at an intermediate stage. For example, the -c option says not to run the linker. ... The gcc program accepts options and file names as operands.
Similar questions