How to produce the assembly from c using gcc
Posted: Fri Jan 06, 2006 8:19 pm
Hi,
I am trying to produce the assembly listing of the Bran's Kernel Dev.
I tried to use this command, to produce the assembly main.s
gcc -Wall -O -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -c -o main.o -S main.s main.c
But it did not work. What's wrong with this.
Any help will be appreciated.
I am trying to produce the assembly listing of the Bran's Kernel Dev.
I tried to use this command, to produce the assembly main.s
gcc -Wall -O -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdinc -fno-builtin -I./include -c -o main.o -S main.s main.c
But it did not work. What's wrong with this.
Any help will be appreciated.