| | |
Problem with gcc and trying to produce assembly file
![]() |
•
•
Join Date: Dec 2007
Posts: 8
Reputation:
Solved Threads: 0
Sorry if this is in the wrong section but I wasn't really sure where else.
I'm trying to use gcc and -S option in order to produce assembly file. Now, if I do not use -S, I can compile it fine and run it. But once I do use -S, there are a lot of fatal errors (in building) and exits with status 1.
So how is it possible to compile and run fine but I get an error when I try to get assembly code?
Here is what I used:
above works fine and dandy but
gives me error.
Any insight would be deeply appreciated. Thanks.
I'm trying to use gcc and -S option in order to produce assembly file. Now, if I do not use -S, I can compile it fine and run it. But once I do use -S, there are a lot of fatal errors (in building) and exits with status 1.
So how is it possible to compile and run fine but I get an error when I try to get assembly code?
Here is what I used:
C Syntax (Toggle Plain Text)
gcc -ansi asdf.c -o asdf
C Syntax (Toggle Plain Text)
gcc -ansi asdf.c -o -S asdf
Any insight would be deeply appreciated. Thanks.
Han shot first
![]() |
Other Threads in the C Forum
- Previous Thread: help in searching a string
- Next Thread: Key loggers
| Thread Tools | Search this Thread |
#include * ansi array arrays asterisks binarysearch calculate centimeter changingto char character convert copyanyfile copyimagefile copypdffile creafecopyofanytypeoffileinc createprocess() database dynamic execv fflush fgets file floatingpointvalidation fork forloop function getlogicaldrivestrin givemetehcodez grade gtkwinlinux histogram homework i/o ide inches include infiniteloop input interest intmain() iso keyboard km license linked linkedlist linux list looping lowest matrix meter microsoft mysql number oddnumber open opendocumentformat openwebfoundation pdf pointer posix power probleminc process program programming pyramidusingturboccodes radix read recursion recv recvblocked research reversing scheduling segmentationfault send sequential single socket socketprogramming stack standard strchr string suggestions systemcall test threads turboc unix urboc user variable whythiscodecausesegmentationfault win32api windowsapi






