Date: Wed, 9 Apr 1997 13:20:13 +0300 (IDT) From: Eli Zaretskii To: Roberto Henriquez Laurent cc: djgpp AT delorie DOT com Subject: Re: New user's questions In-Reply-To: <334A08CA.6429@alumnos.inf-cr.uclm.es> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.