Mail Archives: djgpp/1999/02/23/02:26:04
I'm trying to get the test program to run with rsxntdj. I believe I've
followed all the instructions correctly, and I've also searched the mail
archives, but found nothingr relating to my error. Here's what I did to
install:
1. Installed rsxntdj on top of my djgpp directory (i.e. c:\djgpp\rsxntdj)
2. Copied ld.exe from c:\djgpp\rsxntdj\patch to c:\djgpp\bin
3. Set the path in my environmnent to
PATH=C:\DJGPP\BIN;%PATH%;C:\DJGPP\RSXNTDJ\BIN
4. Modified specs file as noted in the installation instructions to
*cpp:
%{posix:-D_POSIX_SOURCE} ...
%{Zwin32:-D__WIN32__ -D__RSXNT__ -D__EMX__ -Ic:/djgpp/rsxntdj/include}
*link:
%{Zwin32: -Lc:/djgpp/rsxntdj/lib/all}
5. Set the rsxntdj variable in my environment (SET RSXNTDJ=C:\DJGPP\RSXNTDJ
6. Replaced the old djgpp.env with the rsxntdj version
7. Modified the library path and the include paths
When I run gcc -v I get the correct ouput, i.e.
Reading specs from C:/djgpp/rsxntdj/lib/specs
gcc version 2.8.1
Now, when I enter in the test program (and I put in the #include <windows.h>)
at the top, I get this error: (I'm running the test program in RHIDE since I
can't seem to get the rsx ide to work at all. I used the -Zwin32 switch in the
compiler options)
Error: c:/djgpp/bin/ld.exe: cannot open -lc_app: no such file or directory
(ENOENT)
Anybody know what the problem is?
Thanks-
Brandon Tallent
- Raw text -