This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Failure in bootstrapping GFortran 4.3.0 on Cygwin


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....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]