Message-ID: <00e501be1d2a$52352880$d8f2f482@banan> From: "Bengt AT Playboj DOT com" To: Subject: Re: gcc 2.8.1 + RSXNT Date: Tue, 1 Dec 1998 13:46:34 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Reply-To: djgpp AT delorie DOT com -----Original Message----- From: bowman To: djgpp AT delorie DOT com Date: den 1 december 1998 06:26 Subject: Re: gcc 2.8.1 + RSXNT >do you have the latest rsxntdj package? The setup directions are in the >rsxntdj.hlp file, with some additional notes in djgppFAQ. in addition, >George Foot suggests > > %{Zwin32: -Le:/djgpp/rsxntdj/lib/all \ > -Le:/djgpp/rsxntdj/lib/%{Zmt:m}%{!Zmt:s}t} > >for the spec file to use either -Zmt or -Zst to select the single or >multithread version. The spec file as supplied doesn't supply a path for >wither, and will fail during linking. > >You might want to rewrite the inlines in the include files as macros. > >C++ seems to be a problem with 2.8.1; I beleive you would need to >rebuild the compiler with the stabs option selected I have RSXNTDJ 1.3.1 I think its the latest version. I followed the instructions in rsxntdj.hlp when I installed it with gcc 2.7.2.1 and it worked fine, but with gcc2.81 it doesn't... ok, I have replaced ld.exe in djgpp\bin with the one from the rsxnt package, (the ld.exe I've replaced was from binutils 2.81) I have added the lines about rsxnt from the hlp file to my autoexec.bat, plus I have also added C:\DJGPP\LIB\GCC-LIB\DJGPP\2.81 to my path as it is mentioned in the djgpp faq. I have edited the specs file in rsxnt\lib just like it says in the rsxntdj.hlp file. Now all this made it work fine with gcc 2.7.2.1 but when I try to compile a .c file with -Zwin32 -Zmt with gcc2.81 it fails and says: c:/djgpp/bin/ld.exe: cannot open -lc_app: No such file or directory (ENOENT) the specs code you typed, is that a fix for this? If so where in the specs file should I put it, (and what happends to the specs file in djggp\lib\gcc-lib\2.81? shall I replace it?, right now it uses the rsxnt\lib\specs file...? bengt AT playboj DOT com