From: "Rafal Maj" Newsgroups: comp.os.msdos.djgpp Subject: RSXNTDJ installaion problem Date: Mon, 14 May 2001 14:59:28 +0200 Organization: Academic Computer Center CYFRONET AGH Lines: 81 Message-ID: <9dokro$sjf$1@info.cyf-kr.edu.pl> NNTP-Posting-Host: d-94-53-12.cyfronet.krakow.pl X-Trace: info.cyf-kr.edu.pl 989845177 29295 149.156.1.172 (14 May 2001 12:59:37 GMT) X-Complaints-To: news AT cyf-kr DOT edu DOT pl NNTP-Posting-Date: Mon, 14 May 2001 12:59:37 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Please appologise, for this newbie question, but I realy have problems with installing Rsxntdj. I read FAQ, DOCs, and I was trying install 5 times, but with no luck... Can You please help me ? This is descritpion of my instalation, what I am doing wrong ? 1) I have working wersion of DJGPP (in c:\djgpp) installed from djdev203.zip, and RHIDE. I have no problems with compiling\linking\building any projects. 2) Now I unpack all files from Rsxdj151.zip to c:\rsxntdj\. Now I have catalogs like c:\rsxntdj\bin, c:\rsxntdj\doc etc... 2a) I don't understant this from readme.txt : > The last thing you need to do is COPY your cpp.exe from your DJGPP > installation into your DJGPP/bin directory. It is located in your > DJGPP/lib/gcc-lib/djgpp/2.95 directory (or similar, depending on your > gcc version). I have already cpp.exe in c:\djgpp\bin\, and this is only cpp.exe in entire c:\djggp directory. 3) I run c:\rsxntdj\bin\rsxide.exe, and RsxIde starts without any problems. 4) Now File->Open Project, I select, for example "c:\rsxntdj\sample\gui\speed\speed.irs". New project window opens. 5) I run : Target->Make, now in "Make ready" window I have something like : gcc.exe -c -o speed.o speed.c - Zwin32 -O2 -Wall gcc.exe: unrecognize option -Zwin32 speed.c:6 crtrsxnt.h : No suh file or directory (ENOENT) C:/RSXNTDJ/include/win32/anders/windows.h:87: excpt.h : No such file or directory (ENOENT) make.exe *** [speed.o] Error 1 I think, that : a) gcc.exe: unrecognize option -Zwin32 suggests, that invalid version of gcc.exe is used (DJGPP, not RSXNTDJ version) b) (ENOENT) - I have something wrong with my PATH. Below I put list of my environmental variables (not copy of autoexec, because my autoexec.bat is quite complex, I have printed env. var. with litle C++ program using getenv(), this program works correct :) DJGPPDIR = 'C:\DJGPP' DJGPP = 'C:\DJGPP\DJGPP.ENV' RSXNTDJ = 'C:\RSXNTDJ' C_INCLUDE_PATH = 'C:\RSXNTDJ\include\win32\anders' TMPDIR = 'E:\' RMGCCTMPDIR = 'E:' RMGCCUSDIR = 'c:\raf\cc\us' RMCCDIR = 'c:\raf\cc' RMTPDIR = 'c:\tp7' PATH = 'C:\DJGPP\BIN;C:\RSXNTDJ\BIN;C:\CONST\PATH;C:\WINDOWS;C:\WINDOW S\COMMAND;C:\PROGRA~1\BORLAND\CBUILD~1\BIN' Variables DJGPPDIR, and RM* are my own - ignore them. I alsow tryied to force RSXNTDJ to use gccw32.exe compiler from c:\RSXNTDJ\bin\, so in file rsxide.ini I changed : [Macros] CC=gcc.exe to [Macros] CC=gccw32.exe Forcing usage of gccw32.exe make some inmprovment - I get in speed.o file next to speed.c But ther were errors when linking : c:/djgpp/lib/crt0.o(.data+0xc2):crt0.s : undefined reference to 'main' And lots of errors like : speed.o(.text+ 0x43):speed.c udefined reference to 'LineTo' for LineTo, MoveToEx, SetWindowsTextA etc... Please help !!!!!!!! I have already installed C++ Builder, but I dont like it too much and I realy want to use Rsxntdj instead. Thanks for reading this long letter :) Raf256