www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/01/15:53:55

Message-Id: <199812012052.UAA12397@remus.clara.net>
From: "Arthur" <arfa AT clara DOT net>
To: <djgpp AT delorie DOT com>
Subject: RE: gcc 2.8.1 + RSXNT
Date: Tue, 1 Dec 1998 20:51:11 -0000
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
Importance: Normal
In-Reply-To: <00e501be1d2a$52352880$d8f2f482@banan>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Reply-To: djgpp AT delorie DOT com

> -----Original Message-----
> From: bowman <bowman AT montana DOT com>
> To: djgpp AT delorie DOT com <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,

Put it in the specs file in rsxntdj/lib replacing the *link entry (I think).

> (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...?

You don't need to replace it because the modified djgpp.env file points to
the one in rsxntdj/lib rather than the one in djgpp/lib/gcc-lib/2.81.

James Arthur - jaa AT arfa DOT clara DOT net
http://www.arfa.clara.net/james/
ICQ#15054819

> bengt AT playboj DOT com
>
>
>
>
>


- Raw text -


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