www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/09/06:55:29

Date: Wed, 9 Apr 1997 13:20:13 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Roberto Henriquez Laurent <shl24634 AT alumnos DOT inf-cr DOT uclm DOT es>
cc: djgpp AT delorie DOT com
Subject: Re: New user's questions
In-Reply-To: <334A08CA.6429@alumnos.inf-cr.uclm.es>
Message-ID: <Pine.SUN.3.91.970409131940.3639K-100000@is>
MIME-Version: 1.0

On Tue, 8 Apr 1997, Roberto Henriquez Laurent wrote:

> MASM can produce COFF-format .OBJ files which can be easily linked to
> DJGPP object files. You have to give the /coff switch to MASM and use a
> calling convention understood by DJGPP (C calling convention I think).
> You also have to deal with the underbars at the beginning of function
> names. But after that, it works.

Caveat emptor.  Others reported here that the mixed DJGPP/MASM code
will link OK, but crash at run time.  At least in one case I was told
that the code produced by MASM for a function call is different from
what Gas generates, and therefore when the linker resolves these
calls, you get code that might crash.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019