Date: Mon, 8 Jul 1996 08:09:14 +0200 (IST) From: Eli Zaretskii To: entropys AT netcom DOT com Cc: djgpp AT delorie DOT com Subject: Re: Linking ASM files In-Reply-To: <31dff304.6103069@10.0.2.1X119> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 7 Jul 1996 entropys AT netcom DOT com wrote: > I have several C callable ASM routines together in an ASM file. These > ASM routines were designed to be C callable under borland/microsoft C. > What do I need to do to be able to link these files into a djgpp c > program? If that's a one-shot project, and you don't need to maintain that ASM code, you can try using a version of MASM that can emit COFF object files that DJGPP expects. (The FAQ list has the details in section 17.3.) But I recommend to convert your code to the AT&T format accepted by the GNU Assembler (which comes with DJGPP), because in the long run that will allow you to make maintenance easier. The above section in the FAQ tells you about available methods for such a conversion. The DJGPP FAQ list is available as v2/faq200b.zip from the same place you get DJGPP.