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

gcc errors “No such file or directory”

$
0
0

Trying to compile a source code written in C.Location of the code is: C:\Users\Chris\Documents\prog\c\learn\GOODBYE.C

In CMD I typed the code: gcc goodbye.c -o goodbye

Got this error:

gcc: error: goodbye.c: No such file or directorygcc: fatal error: no input filescompilation terminated.

I wanted the output to be named goodbye.

How do I fix this?


Viewing all articles
Browse latest Browse all 22011

Trending Articles



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