delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/04/28/14:46:49

Date: Sat, 28 Apr 2001 14:46:47 -0400
Message-Id: <200104281846.OAA01811@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
In-reply-to: <6480-Sat28Apr2001210431+0300-eliz@is.elta.co.il>
Subject: Re: gcc-3.0 related patches for DJGPP CVS version
References: <3AE96E9B DOT 10268 DOT B1244D AT localhost> (pavenis AT lanet DOT lv) <3AEAF6C8 DOT 19289 DOT 14FAA0A AT localhost> <200104281636 DOT MAA00748 AT envy DOT delorie DOT com> <6480-Sat28Apr2001210431+0300-eliz AT is DOT elta DOT co DOT il>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> > That was the patch that "fixed" gcc.  Perhaps the patch should
> > re-introduce at least __GO32__ and __DJGPP__ ?
> 
> What, __DJGPP__ is also gone?

On second look, it does this:

#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-D__MSDOS__ -Asystem=msdos"

/* Include <sys/version.h> so __DJGPP__ and __DJGPP_MINOR__ are defined.  */
#undef CPP_SPEC
#define CPP_SPEC "-remap %(cpp_cpu) %{posix:-D_POSIX_SOURCE} \
  -imacros %s../include/sys/version.h"

So, as long as sys/version.h defined what we need, the user will
always see them.  We could put __GO32__ in <sys/version.h> but there's
still the problem of 2.03 users.

- Raw text -


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