Date: Thu, 25 Feb 1999 11:15:59 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Dave Bird cc: djgpp AT delorie DOT com Subject: Re: I just wanted to assemble this old program under NASM.... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Wed, 24 Feb 1999, Dave Bird wrote: > OK: a prefix written in C could do all these things then call ASM_MAIN, > which is (unavoidably) written in Intel assembler by someone else. There are converters from Intel to AT&T style. Check out section 17.2 of the DJGPP FAQ list for several solutions. > Looks like that line-number info for inline assem will have to be > generated "by hand", or by writing a program myself to do it. That's only when the assembly code is inlined in a C source. Pure assembly modules are free from this problem, I think. > : A guide is available which was written by Brennan Underwood; > : it describes how to use inline assembly programming with DJGPP > : and includes a tutorial on the AT&T assembly syntax. Check out > : the __DJGPP inline assembly tutorial__ . > : > Can you give me a current URL for this dead link too, please, > as I guess I'll be needing it soon. The URL is unchanged, it's just that the server seems to retire the document from time to time. Mail Brennan and ask him to resurrect the document. > P.S. is this URL > ftp://ftp.delorie.com/pub/djgpp/v2gnu/ed-02b.zip > OK for "ed"? I'm just going to log on and try it. No, it's not okay. Use this: ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/ed-02b.zip