Message-ID: <3A047280.3ADB37CB@magma.net> From: Danny Byers X-Mailer: Mozilla 4.7 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: using COFF object file from MASM to compile C Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 15 Date: Sat, 04 Nov 2000 20:32:04 GMT NNTP-Posting-Host: 209.217.95.43 X-Trace: news 973369924 209.217.95.43 (Sat, 04 Nov 2000 15:32:04 EST) NNTP-Posting-Date: Sat, 04 Nov 2000 15:32:04 EST Organization: Magma Communications Ltd. To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hey! I am using MASM 6.11 (which can output the COFF format object files) and I need to interface my assembly code with some C functions that I have written. How can I use DJGPP with the object file that I got from MASM? I am new to using DJGPP. What would be the command (ie. gcc file.c asmcode.obj) to include the object file so that my C code will work with the assembly code? Thanks! Dan