www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/12/21:21:55

From: Michael Miller <michaelmiller1 AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: HELP for compilation with RSXNTDJ
Date: Fri, 12 Feb 1999 18:49:11 -0700
Organization: Home
Lines: 45
Message-ID: <36C4DA16.4BAC1203@hotmail.com>
References: <36C17436 DOT 11582D1B AT ipatia DOT ccf DOT auth DOT gr> <79t4tt$c96 AT enews1 DOT newsguy DOT com>
NNTP-Posting-Host: calppp157070.3web.net
Mime-Version: 1.0
X-Trace: iceman.tac.net 918870524 20569 209.197.157.70 (13 Feb 1999 01:48:44 GMT)
X-Complaints-To: abuse AT tac DOT net
NNTP-Posting-Date: 13 Feb 1999 01:48:44 GMT
X-Mailer: Mozilla 4.5 [en]C-NECCK (Win98; I)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Well I haven't got my rsxntdj up and running quite yet but I think that I know
what the problem is you aren't reading from the correct specs file.
Do this test:
on a dos prompt type

gcc -v

and you should get back:

reading specs from c:\rsxntdj\lib\specs
gcc version 2.x.x

the c:\rsxntdj being the directory that you installed rsx in. You should not be
reading the specs file from the djgpp directory as it does not define the
-Zwin32 option. Also make sure you patch the rsx specs file.
To patch the specs file
fix the link section like this

*link:
%{Zwin32: -Lc:/rsxntdj/lib/all} %{Zmt: -Lc:/rsxntdj/lib/mt} %{!Zmt:
-Lc:/rsxntdj/lib/st}

just cut and paste it in. And there you go it should solve the problem.

Mike

P.S. if you anyone does get their version of rsxntdj working with gcc ver 2.8.1
could you post a message. I think I shall try and install it again. Third times
always a charm right?

Adam Pirkle wrote:

> >    I downloaded RSXNTDJ and installed it (correctly hopefully). I tried
> >to compile a small sample program using:
> >gxx -Zwin32 -o first.exe first.cpp
>
> >
> >and I get the message:
>
> >
> >gxx.exe: unrecognized option 'Zwin32'
>
> I'm having the EXACT same problem.  If anyone has an answer for this, please
> send it to me at apirkle AT texoma DOT net.  Thanks.

- Raw text -


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