I have .c source files and .S source files. i compiled .c sources like below to generate .asm file.
Code: Select all
gcc -O3 -c -nostdinc -o file1.asm -S file1.c
gcc -O3 -c -nostdinc -o file2.asm -S file2.c
// compiled .S files to generate .o
g cc -O3 -c -nostdinc -o file3.o file3.S
Is it possible to use GCC here and make final output file as .asm?
Though, i have been Googling to to find the answer .
Thanks in advance for your help !!