delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/07/21:32:35

From: Flavio Poletti <poletti AT writeme DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: RSXNTDJ under DJGPP v. 2.8.0
Date: Fri, 07 Aug 1998 00:29:17 +0200
Organization: TIN
Lines: 85
Message-ID: <35CA2E3D.BC832F2E@writeme.com>
Reply-To: flavpol AT tin DOT it
NNTP-Posting-Host: a-rm22-29.tin.it
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi all,

I am proud (!) to present... my installation process! Some notes about
my installation troubles and solutions. I succeeded in compiling and
executing almost all examples. Here's what I' done.

------------------------------------------------------------------------------------------------------------------

Preface: I have installed:

DJGPP 2.8.0  into C:\DJGPP
RSXNTDJ 1.31 into C:\DJGPP\RSXNTDJ

0) Some time ago, I copied executables contained in
C:\DJGPP\LIB\GCC-LIB\DJGPP\2.80 into C:\DJGPP\BIN.

Installation process I followed:

1) Renamed C:\DJGPP\DJGPP.ENV to C:\DJGPP\DJGPP.ENV.OLD
2) Copied C:\DJGPP\RSXNTDJ\LIB\DJGPP.ENV to C:\DJGPP\DJGPP.ENV
3) Unzipped RSXDJ131.ZIP under C:\DJGPP using WINZIP (I use LFN)
4) Renamed C:\DJGPP\BIN\LD.EXE to C:\DJGPP\BIN\LD.EXE.OLD
5) Copied C:\DJGPP\RSXNTDJ\PATCH\LD.EXE to C:\DJGPP\BIN\LD.EXE
6) Added C:\DJGPP\RSXNTDJ\BIN to the path in AUTOEXEC.BAT (before
C:\DJGPP\BIN)
7) Added SET RSXNTDJ=C:\DJGPP\RSXNTDJ into AUTOEXEC.BAT
8) Modified C:\DJGPP\RSXNTDJ\LIB\SPECS:
 *cpp:
 %{posix:-D_POSIX_SOURCE} ...
 %{Zwin32:-D__WIN32__ -D__RSXNT__ -D__EMX__ -If:/rsxntdj/include}
                ^^^^^^^^^^^^^^^^^^

 *link:
 %{Zwin32: -Lf:/rsxntdj/lib/all}
     ^^^^^^^^^^^^^^^^^^

Until now, there's nothing new respect with readme.exe. Now, my tricks:

9) In the new C:\DJGPP\DJGPP.ENV (see step 2) restored LFN=y. Moreover,
I modified section:

[gcc]
COMPILER_PATH=%/>;COMPILER_PATH%%DJDIR%/bin
LIBRARY_PATH=%/>;LIBRARY_PATH%;%RSXNTDJ%/lib;%DJDIR%/lib;%DJDIR%/contrib/grx20/lib

into

[gcc]
COMPILER_PATH=%/>;COMPILER_PATH%%DJDIR%/bin
LIBRARY_PATH=%/>;LIBRARY_PATH%;%RSXNTDJ%/lib;%RSXNTDJ%/lib/all;%RSXNTDJ%/lib/st;%RSXNTDJ%/lib/mt;%DJDIR%/lib;%DJDIR%/contrib/grx20/lib

that is, adding %RSXNTDJ%/lib/all ,  %RSXNTDJ%/lib/st , %RSXNTDJ%/lib/mt
to the LIBRARY_PATH. It must be noted that /lib/st and /lib/mt contain a
lot of libs with the same name, so I think that only st ones will be
used.

Now, I have succeeded in compiling almost all examples, except:

GUI\CPLUS     : MAKEFILE lacks TABS in command lines. However, it does
not work, because...:
  gcc -Zwin32  whello.o -o whello.exe
  Error: missing stab strings - not linked with rsxnt
  make.exe: *** [whello.exe] Error 1

CONSOLE\THREAD: it gave a SIGILL error

DLL\*         : modified MAKEFILEs to let CD command work properly
------------------------------------------------------------------------------------------------------------------



Well, that's my story... Hope it will be useful to you all!
Regards,

        Flavio.


--
Flavio Poletti
email: poletti AT writeme DOT com

La libertà è lì, alla portata di tutti, come la chitarra...
 ... ognuno suona come vuole, e tutti suonano come vuole la libertà...


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019