Clang: Error: No Such File or Directory
Hello Mac Communities,
I have recently installed Xcode 6.1.1, but currently just want to compile C files. I would like some help with a rather irritating error.
Here are the commands I try and their results.
command: gcc -c /Users/(my username)/Documents/C/helloworlddot1.c
result: error: no such file or directory: filename.c
or, after filename is changed to helloworld00.c;
command: ]gcc -c /Users/(my username)/Documents/c/helloworld00.c
result: (no text is displayed) The file helloworld00.o is created
That seemed to work for the moment, until I tried to compile/convert the machine code into a program:
command: gcc -c /Users/(my username)/Documents/c/helloworld00.o
result: clang: error: no input files
...which is weird.
Can anyone help with this?
P.S. Is this the best community to post this type of thing to?
MacBook Pro, OS X Yosemite (10.10.1), null