delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/03/10/11:59:12

Message-ID: <B0000079100@stargate.astr.lu.lv>
From: "Andris Pavenis" <pavenis AT lanet DOT lv>
To: Peter Gerwinski <peter AT gerwinski DOT de>, djgpp-workers AT delorie DOT com
Date: Wed, 10 Mar 1999 18:58:36 +0200
MIME-Version: 1.0
Subject: Re: DJGPP preprocessor and link command specs
CC: Frank Heckenbach <frank AT tim DOT gerwinski DOT de>
In-reply-to: <19990310011358.K281@esmeralda.gerwinski.de>
X-mailer: Pegasus Mail for Win32 (v3.02b14)
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 10 Mar 99, at 1:13, Peter Gerwinski wrote:

> Hello again, DJGPP workers!
> 
> DJGPP requries some hacks on the preprocessor and link command
> specs.  However while building the compiler itself, `xgcc' dumps
> specs that do not contain the DJGPP specifica, and it is just by
> chance that the compilation works.  The differences are as
> follows:
> 

Which version of egcs and DJGPP did You use. Did You take sources from
DJGPP distribution or You used unmodified sources. With sources from
DJGPP distribution (see v2gnu/beta/egcs111s.zip) there is no need to change
dumped specs at all. For example I'm getting for egcs-1.1.2-pre3

*predefines:
-Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2   -Asystem(unix) -Asystem(msdos) 
-Acpu(i386) -Amachine(i386)

LINK_COMMAND_SPEC is defined but not dumped of course. So
DJGPP is defined. DJGPP_MINOR is defined for DJGPP-2.02 in 
sys/version.h included from stdio.h. I dont think we should define it
in specs.

Andris

- Raw text -


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