Can i use for example
gcc -o -S output.s abs.c
to create an assembly file named output.s? I can't seem to. When I try to do this, I received the following error message.
Undefined symbols for x86_64 architecture: "_main" referenced: implicit input / start for the main executable file ld: character (s) not found for x86_64 architecture clang: error: linker command failed with exit code 1 (use -v to see the call)
I do not intend to use the linker, just try checking the build code.
source share