delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2006/06/16/00:51:28

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
Message-ID: <449238F3.7000407@iki.fi>
Date: Fri, 16 Jun 2006 07:52:03 +0300
From: Andris Pavenis <andris DOT pavenis AT iki DOT fi>
User-Agent: Thunderbird 1.5.0.2 (X11/20060420)
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: djgpp CVS patches
References: <3629 DOT 220 DOT 233 DOT 177 DOT 46 DOT 1150432244 DOT squirrel AT cafemail DOT mcadcafe DOT com>
In-Reply-To: <3629.220.233.177.46.1150432244.squirrel@cafemail.mcadcafe.com>
Reply-To: djgpp-workers AT delorie DOT com

decker AT dacafe DOT com kirjoitti:
> Hi Andris,
> 
> 
>> Then perhaps the only way is to write some small tool to generate
>> compiler options while build.
> 
> Not so sure about that...

I thought something like in top level Makefile:

gcc.opt:
	$(CROSS_GCC) -E -dD -x c /dev/null | awk -f some_script >gcc.opt

some_script would process #define lines generated by GCC preprocessor,
extract version information and output and output options file. I don't 
think it would be so complicated. At the same time it would be nice to 
get rid also of option -I-, which is deprecated in new GCC versions.

> 
> 
>> If You are still stuck with gcc-3.3, then at least please update to the
>> latest of gcc-3.3X series (gcc-3.3.6). _environ was added to djgpp-x.djl
>> beginning with DJGPP port of gcc-3.3.5.
> 
> Yes, it was me. Well strange - until now I never felt "stuck" with using
> gcc 3.3.2 :) I 'upgraded' to that a couple of years ago and it has worked
> just fine. Perhaps something important like libc should be kept at least a
> few years backward compatible? The occasional DOS developer might not be
> very happy to need to chase every small upgrade as it comes along. We do
> want people to do testing, right:)? That being said, I myself was planning
> soon to upgrade to 4.1.x sometime toward the end of that minor release.

What choise I had when this change were introduced in CVS version of 
DJGPP? Perhaps only to add support of for the next release of DJGPP port 
of GCC.

About being stuch with gcc-3.3 I thought, that You may have sources, 
that may not compile with newer versions without large enough efforts. 
In that case upgrade to 3.3.6 should not however be a problem.


Andris

- Raw text -


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