I am trying to compile a C program in the terminal.
This is my command:
gcc -1 string -o syncing.c -o syncing
This is my result:
clang: error: no input files
I know that -1... indicates the library I used, syncing.c is the C file I am trying to compile.
What am I doing wrong with my command or is it something else?
I am only using standard libraries.
"clang: error: no input files"). It is apparently common to alias the executablegccto the Clang compiler or frontend.gcc" to the Clang compiler? For instance, is it some common "distribution" of Clang or software where Clang is a part of it? For instance, could it be Python/Anaconda that also installs a compiler, effectively "overwriting" the existing "gcc" executable?gccto the Clang compiler: Why does thegcccommand on macOS executeclang?. Due to licensing issues?-1(the number) a typo ofl(the letter)? Under "Linker flags" on "Clang command line argument reference" there is -l ("l" as in lowercase, not the number). Would that make sense in a Clang context?