delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/22/06:35:09

Date: Mon, 22 Feb 1999 13:32:05 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Crousto <crousto AT infonie DOT be>
cc: djgpp AT delorie DOT com
Subject: Re: "SIGSEGV error" with WinAllegro+RSXNTDJ
In-Reply-To: <000901be5dd5$c3db50e0$fb02e8d4@default>
Message-ID: <Pine.SUN.3.91.990222133146.15762H-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Sun, 21 Feb 1999, Crousto wrote:

> Thanks for help! I've linked with the DJGPP's 'ld', and it report some
> unresolved vars in stdcx.a : __dj_ctype_flags, __dj_stdin, __dj_stdout (of
> course, my program crash when it uses the C++ streams : cout, cin and
> files). The 'nm' utility report those variables in libc.a.

RSXNTDJ programs aren't (and shouldn't) be linked with DJGPP's libc.a;
they are linked with the library that comes with RSX.  These variables
indicate that your RSXNT setup is incorrect: the compiler picked up
DJGPP headers (specifically, DJGPP's stdio.h which references
__dj_stdin etc.).  The compiler setup should be such that it uses
RSXNTDJ header files, not DJGPP's.

I suggest to check your setup as per the RSXNT docs.  Therein lies the
reason for these problems.

- Raw text -


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