This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: Failure in bootstrapping GFortran 4.3.0 on Cygwin
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Andreas Schwab'" <schwab at suse dot de>, "'Paolo Carlini'" <pcarlini at suse dot de>
- Cc: "'Revital1 Eres'" <ERES at il dot ibm dot com>, "'Angelo Graziosi'" <Angelo dot Graziosi at roma1 dot infn dot it>, <fortran at gcc dot gnu dot org>, <gcc at gcc dot gnu dot org>, <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 17 Aug 2007 12:48:42 +0100
- Subject: RE: Failure in bootstrapping GFortran 4.3.0 on Cygwin
- References: <OF52ECE894.C224E11C-ONC225733A.002E2CE7-C225733A.002E3DFF@il.ibm.com> <46C58346.4010607@suse.de> <jeps1m8kpg.fsf@sykes.suse.de>
On 17 August 2007 12:28, Andreas Schwab wrote:
> Paolo Carlini <pcarlini@suse.de> writes:
>
>> Revital1 Eres wrote:
>>
>>> Also on ppc64.
>>>
>>>
>> Everywhere!
>
> The file is only updated by the new config/gcc_update script, so if you
> update the first time it is not created. How about this:
> DATESTAMP := $(srcdir)/DATESTAMP # YYYYMMDD or empty
> -REVISION := $(srcdir)/REVISION # [BRANCH revision XXXXXX]
> +REVISION := $(wildcard $(srcdir)/REVISION) # [BRANCH revision XXXXXX]
>
> BASEVER_c := $(shell cat $(BASEVER))
> DEVPHASE_c := $(shell cat $(DEVPHASE))
> DATESTAMP_c := $(shell cat $(DATESTAMP))
>
> -ifeq (,$(wildcard $(REVISION)))
> +ifdef REVISION
> REVISION_c :=
> else
> REVISION_c := $(shell cat $(REVISION))
I'm not clear about this, are we allowed to use gnu-specific features like
$(wildcard ...) in this makefile?
cheers,
DaveK
--
Can't think of a witty .sigline today....