www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/18/21:00:05

From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Using MASM 6.11 w/ DJGPP 2.0?
Date: Fri, 18 Oct 1996 14:15:32 -0400
Organization: Cornell University
Lines: 28
Sender: asu1 AT cornell DOT edu (Verified)
Message-ID: <3267C944.BD@cornell.edu>
References: <Pine DOT OSF DOT 3 DOT 93 DOT 961016173141 DOT 22315A-100000 AT surfer2 DOT surf DOT scs DOT unr DOT edu>
NNTP-Posting-Host: cu-dialup-0076.cit.cornell.edu
Mime-Version: 1.0
To: Eric Rasmussen <rasmus AT scs DOT unr DOT edu>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Eric Rasmussen wrote:
> 
>    I have been working with gas, and I'm going out of my mind.  :-)  So I
> tried to use MASM 6.11 and compile my .ASM file to COFF format so I could
> link in the object file using gcc.  However, I get GPFs and segment
> violations when I call any procedure in the .ASM file.  Does anyone know
> if there's a way to make MASM procedures work with DJGPP?  Here's the code
i don't know much about this topic but i recently downloaded nasm
(unfortunately i cannot remember the location right now but if you
search the mail archives, you should be able to find it). anyway, nasm
can produce win32 coff format files. however, and i think this is the
relevant part for your problem, the documentation states that win32 coff
format is a _variant_ of the standard coff format. apparently it has a
number of ms extensions etc. so, if you are generating win32 coff files
with masm, that might be your problem.

in any case, you might want to give nasm a try. it _is_ an early release
but seems to work ok. but bear in mind that i am new to intel assembler.

anyway, hope this helps.
-- 
*******************************************************************
 A. Sinan Unur                                WWWWWW
                                              |--O+O
 mailto:asu1 AT cornell DOT edu                      C   ^ 
 mailto:sinan AT econ DOT cit DOT cornell DOT edu             \  ~/ 
 http://www.bqnet.com/sinan/
*******************************************************************

- Raw text -


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