From: Allens Newsgroups: comp.os.msdos.djgpp Subject: Re: rsxntdj setup:djgpp 2.8.1 Date: Tue, 28 Jul 1998 18:33:58 +0100 Organization: Cable Online Lines: 64 Message-ID: <35BE0B86.6E27@cableol.co.uk> References: <09980627100430 DOT OUI78 DOT glloyd AT st DOT net DOT au> NNTP-Posting-Host: 194.168.181.54 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk gary wrote: > > i would like to know if rsxntdj can be successfully be setup with the > newer version of djgpp msdos system v2.8.1 i saw a mention here that > because of the new dir structure of djgpp, rsxntdj gets confused,could > this be got around by altering the djggp.env file to suit,i would try it > but if someone has tried it and had no success,then in that case i would > ask,is there free software to do windows programming with djgpp. if > rsxntdj can be used with djgpp how does one set it up,if someone is kind > enough to answer all the above it would be much appreciated thanking u > all in advance Gary Lloyd I got these instructions from Clark Case, and I can't test them, so don't know if they work. After much messing around, I got RSXNTDJ to work for the most part with gcc version 2.8.1. Here are the steps I eventually ended up following: 1) Follow directions in readme.exe. 2) Include windows.h in test program in readme.exe 3) In the specs file (for me, it is at c:/djgpp/rsxntdj/lib/specs), in the *link section, some changes need to be made. The origional read something like the following: *link: %{Zwin32: -Lc:/djgpp/rsxntdj/lib/all} However, during compilation, it seemed to be looking for a library that lived both in c:/djgpp/rsxntdj/lib/mt and in .../lib/st. I randomly chose to include mt, so the statement ended up looking like this: *link: %{Zwin32: -Lc:/djgpp/rsxntdj/lib/all -Lc:/djgpp/rsxntdj/lib/mt} I have no idea what the difference is between these two directories, except one, which leads to... 4)There was one lib that lived in the st directory that wasn't in mt, and it was needed in compiling one of the samples. This was libcrtcs.a. I just copied this one into the mt directory. 5)To get the resource compiler to work, I added the following to my path statement in the autoexec file: c:\djgpp\lib\gcc-lib\djgpp\2.81 Sooo, all is well in RSXNTDJ land? Not quite. I can't seem to compile c++ stuff under djgpp. In the c++ sample, there is apparently an error in the makefile, so it doesn't work. And, if I change the name of test.c to test.cpp and try to compile it, I get the following error: Error: missing stab strings - not linked with rsxnt I compiled with gcc -Zwin32 test.cpp -o test.exe. This same error happened with some other c++ stuff under win32. Peter Allen