From: "Tom Hunt" Newsgroups: comp.os.msdos.djgpp Subject: Re: Using MASM generated COFF files with GPP (solution) Date: Tue, 17 Apr 2001 15:47:07 -0400 Organization: East Stroudsburg University, Pennsylvania Lines: 30 Message-ID: <9bi6hc$saa$1@jake.esu.edu> References: NNTP-Posting-Host: thunt1.lhup.edu X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Eli Zaretskii" wrote in message news:Pine DOT SUN DOT 3 DOT 91 DOT 1010417165925 DOT 15278M-100000 AT is... > > On Tue, 17 Apr 2001, Lawrence Rust wrote: > > > > Then how come Tom's program worked? > > > > I haven't seen the actual program that Tom used but I presume that the code > > made no use of local static data or external subroutine calls. > > The snippet Tom showed looked like a complete function, so I guess that > function was called from at least one other spot, probably from C or C++. > > Tom, could you please post the details? No, I didn't use either of those. There wasn't much to the program apart from that structural bit I posted before. I was pretty much just trying to get a COFF file from MASM to work with GCC. It works fine for simple little things like the bulk of the work I do in assembly language. Beyond that, it may be a good idea to run the module through Lawrence's converter. Tom