ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2011/07/26/01:48:43

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Message-ID: <4E2E5269.70402@iki.fi>
Date: Tue, 26 Jul 2011 08:36:41 +0300
From: Andris Pavenis <andris DOT pavenis AT iki DOT fi>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110707 Thunderbird/5.0
MIME-Version: 1.0
To: djgpp AT delorie DOT com
CC: Ozkan Sezer <sezeroz AT gmail DOT com>
Subject: Re: DJGPP_MINOR no longer defined?
References: <CAA2C=vAhTVc9f3coSdkT_r_fpXo0miZjCCQ1w+Bo6Gmv+t3Upg AT mail DOT gmail DOT com>
In-Reply-To: <CAA2C=vAhTVc9f3coSdkT_r_fpXo0miZjCCQ1w+Bo6Gmv+t3Upg@mail.gmail.com>
Reply-To: djgpp AT delorie DOT com

On 07/26/2011 01:02 AM, Ozkan Sezer wrote:
> I use __DJGPP_MINOR__ to understand whether I have djgpp>=2.04 or not.
> In more recent versions of gcc, specifically starting with gcc>=4.3.0,
> DJGPP_MINOR is no longer defined and djgpp.ver is no longer generated.
> Is there a specific reason?  (If this is a well known thing, sorry.)

You have to include sys/version.h or some other header which includes it
to get DJGPP_MINOR

> (As a side note, the *s2.zip patch files are no longer provided either,
> which is a big unvenience since we have to download 60+ mb of already
> patch gcc sources...)

Creating source zip archive using contents of gcc***s2.zip and original FSF
source package is not tested for DJGPP already for a long time (also
DJGPP ports of Autoconf and Automake are too ancient). Therefore this step
is done under Linux:
1) building Linux-to-DJGPP cross-compiler RPM packages (side result
    is source archive for DJGPP, eg. gcc461s.zip)
2) using it build native compiler for DJGPP

There is an archive which replaces gcc***s2.zip, but it is on ftp.delorie.com
inside cross-compiler SRPM file. Maybe it would be nice to put it also
separately.

Andris

- Raw text -


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