X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Lawrence Rust" Newsgroups: comp.os.msdos.djgpp References: <000601c1caa9$87e88190$f406d6d2 AT terax> Subject: Re: COFF and MASM Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Message-ID: Date: Mon, 18 Mar 2002 12:33:28 -0000 NNTP-Posting-Host: 80.4.125.150 X-Complaints-To: abuse AT ntlworld DOT com X-Trace: news6-win.server.ntlworld.com 1016454820 80.4.125.150 (Mon, 18 Mar 2002 12:33:40 GMT) NNTP-Posting-Date: Mon, 18 Mar 2002 12:33:40 GMT Organization: ntl Cablemodem News Service To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Message"Rajesh Vivekanandham" wrote in message news:000601c1caa9$87e88190$f406d6d2 AT terax... > > I am using MASM's COFF object files with Djgpp (RHIDE ) and am getting > a strange error while calling the coff file from a c program in the > RHIDE env. MASM produces a COFF output file that contains relocation fixups that are incompatible with DJGPP's ld. Before linking with ld you must translate the relocation fixups. I had similar problems in a project about a year ago so I wrote a translation program. You can download it from here: www.softsystem.co.uk/masm2djg.zip HTH - Lawrence Rust, Software Systems