delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/03/17:01:00

From: "John S. Fine" <johnfine AT erols DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP and ASM
Date: Mon, 03 Aug 1998 16:49:12 -0400
Organization: RCN Internet
Lines: 19
Message-ID: <35C62248.4DA0@erols.com>
References: <902165686 DOT 206012 AT samba DOT news DOT big-orange DOT net>
Reply-To: johnfine AT erols DOT com
NNTP-Posting-Host: 207-172-240-96.s33.as2.bsd.erols.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Sylvester Hesp wrote:
> 
> I'm writing a program in DJGPP and an Assembler (NASM 0.97)
> When I link the object-files from DJGPP and NASM, and I run the
> program, I get the message :
>     "Exiting due to signal SIGSEGV"
. . .
>     SEGMENT _TEXT USE32

  For simple methods of linking NASM COFF files with DJGPP
programs, you must make sure you use the same segment names
that DJGPP uses.  For your code segment, the name is .text,
not _TEXT.

  I am sure you can link correctly with mixed segment names,
but I don't know how to do it.
-- 
http://www.erols.com/johnfine/
http://www.geocities.com/SiliconValley/Peaks/8600/

- Raw text -


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