From: George Foot Newsgroups: comp.os.msdos.djgpp Subject: Re: can i? Date: 13 Feb 1998 18:42:28 GMT Organization: Oxford University, England Lines: 19 Message-ID: <6c246k$9lp$1@news.ox.ac.uk> References: NNTP-Posting-Host: sable.ox.ac.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Fri, 13 Feb 1998 10:16:23 +0200 in comp.os.msdos.djgpp Juuso Vilmunen 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