Mail Archives: djgpp/1999/02/22/06:35:09
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 -