from C to assembly

Posted by lego69 on Stack Overflow See other posts from Stack Overflow or by lego69
Published on 2010-05-22T21:33:16Z Indexed on 2010/05/22 21:40 UTC
Read the original article Hit count: 338

Filed under:
|
|

how can I get assembly code from C program I used this recommendation and I use something like this -c -fmessage-length=0 -O2 -S in Eclipse, but I've got an error, thanks in advance for any help

I have this error

**** Internal Builder is used for build               ****
gcc -O0 -g3 -Wall -c -fmessage-length=0 -O2 -S -oatam.o ..\atam.c
gcc -oatam.exe atam.o
D:\technion\2sem\matam\eclipse\eclipse\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe:atam.o: file format not recognized; treating as linker script
D:\technion\2sem\matam\eclipse\eclipse\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe:atam.o:1: syntax error
collect2: ld returned 1 exit status
Build error occurred, build is stopped
Time consumed: 281  ms.  

© Stack Overflow or respective owner

from C to assembly

Posted by lego69 on Stack Overflow See other posts from Stack Overflow or by lego69
Published on 2010-05-22T11:02:10Z Indexed on 2010/05/22 11:10 UTC
Read the original article Hit count: 338

Filed under:
|

can somebody please explain, I have a program on C, can I convert it to assembly? if yes, how?

© Stack Overflow or respective owner

Related posts about c

    Related posts about eclipse