delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/12/18:55:33

From: "Keith McCormick" <kdm98 AT spiritone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Zwin32 fix for RSXNTDJ
Date: 12 Jul 1999 21:46:34 GMT
Organization: SpiritOne Internet 503-240-8200
Lines: 21
Message-ID: <931815991.46788@ridge.spiritone.com>
NNTP-Posting-Host: ridge.spiritone.com
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Trace-ISP: 931815990 10175 208.130.243.170 hf5o/F78:xqz98
X-Complaints-To-ISP: abuse at spiritone dot com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

If this hasn't been mentioned before in another post:

   This is how you fix the gcc error: -Zwin32 unrecognized command (or
something like that)

      In the 'Spec' file in the RSXNTDJ\LIB directory you need to add:

%{Zwin32: -Lc:/djgpp/rsxntdj/lib/all} \
%{Zwin32: -Lc:/djgpp/rsxntdj/lib/MT} \
%{Zwin32: -Lc:/djgpp/rsxntdj/lib/ST}

        to the *link: section.

The Zwin32 switch is one that is added through the SPEC file in the
RSXNTDJ\LIB directory that tells the linker to link all the libs in those
directories.

KeithM



- Raw text -


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