I'm very new to programming and I had a question about compiling of assembly language on Mac OS. I know that to convert my .c
to an .s
I should use gcc -m32 -S
. However, I already wrote my own .s
file. I was wondering if it was possible to convert the .s
I've made so that my Mac can compile it.
The thing is I want to compile both the .c
and .s
to verify that they both return the same value.
↧
Compiling an assembly source on Mac OS and converting file to object/executable
↧