Mail Archives: djgpp/1998/02/13/15:02:45
On Fri, 13 Feb 1998 10:16:23 +0200 in comp.os.msdos.djgpp Juuso
Vilmunen <jsvilmun AT hit DOT fi> wrote:
: How can I edit ASM code that DJGPP creates?
Using a text editor :). I think you meant `How to I tell gcc to
output the assembler?' -- for this, use the `-S' switch. Just as `-c'
makes it compile and assembler to a .o file, `-S' makes it just
compile, to a .s (assembler) file. You can edit this, and then link
as normal with the .s file:
gcc -S myfile.c
(edit the myfile.s file)
gcc -o myfile.exe myfile.s
--
george DOT foot AT merton DOT oxford DOT ac DOT uk
ko tavla fo la lojban
- Raw text -