Mail Archives: djgpp/1996/10/18/21:00:05
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 -