Date: Mon, 22 Feb 1999 13:32:05 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Crousto cc: djgpp AT delorie DOT com Subject: Re: "SIGSEGV error" with WinAllegro+RSXNTDJ In-Reply-To: <000901be5dd5$c3db50e0$fb02e8d4@default> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.