Mail Archives: djgpp/1998/07/28/23:52:58
Message-ID: | <000801bdbaa3$5edcb4c0$1a1f1bc4@enterprise-z>
|
From: | "=?iso-8859-1?Q?Jorge_Iv=E1n_Meza_Mart=EDnez?=" <jimeza AT usa DOT net>
|
To: | <djgpp AT delorie DOT com>
|
Subject: | rsxntdj instalation
|
Date: | Tue, 28 Jul 1998 22:40:28 -0500
|
MIME-Version: | 1.0
|
I am trying to install "RSXNTDJ 1.3.1", I have the DJGPP 2.8.1 and works
fine.
i am trying to compile a test program:
#include <windows.h> // Windows.h einlesen
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,LPSTR
lpCmdLine, int nCmdShow)
{
MessageBox (NULL, "Hello Win32", "First App", MB_OK);
return 0;
}
with gcc -Zwin32 test.c -o test.exe
i think that the compiler stage is well because I get a test.o file, but
linker fails:
"d:/djgpp/bin/ld.exe: cannot open -lc_app: No such file or directory
ENOENT )"
I instaled following the instructions from rsxntdj/doc/readme.exe.
1. replaced the ld.exe from rsxntdj/path to djgpp/bin
2. added /rsxntdj/bin to path
3. I changed rsxntd/lib/specs to:
%{Zwin32: -D__WIN32__ -D__RSXNT__ -D__EMX__ -Id:/djgpp/contrib/rsxntdj/inclu
de}
and ...
%{Zwin32: -Ld:/djgpp/contrib/rsxntdj/lib/all}
4. I set "SET RSXNTDJ=F:\RSXNTDJ"
5. I replaced /rsxntdj/lib/djgpp.env to /djgpp
"gcc -v" tells:
reading specs from "d:\djgpp\contrib\RSXNTDJ/lib/specs"
gcc version 2.8.1
thanks,
Jorge Iván Meza Martínez
jimeza AT usa DOT net
http://members.xoom.com/THP
- Raw text -