Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22037

What does -c option do in GCC [closed]

$
0
0

Does anyone know what does the -c flag do in gcc?

For example, what's the difference between

gcc -c output0.c
vs gcc output0.c

I know the second one makes a .a file but I don't know what a .a file is.

Also, what does -o do in

gcc output0.o -o output0

Is it just to name the output file right?


Viewing all articles
Browse latest Browse all 22037

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>