From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6412 invoked by alias); 14 Dec 2012 18:26:30 -0000 Received: (qmail 5874 invoked by uid 48); 14 Dec 2012 18:26:09 -0000 From: "gjl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/55243] STAMP variable is not defined in t-avr Date: Fri, 14 Dec 2012 18:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gjl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-12/txt/msg01468.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55243 --- Comment #25 from Georg-Johann Lay 2012-12-14 18:26:07 UTC --- Created attachment 28960 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28960 Don't use STAMP to please Ada (In reply to comment #24) > > What I don't understand is what is bad with Rolf's proposal of defining STAMP? > > We simply don't need to stamp anything for the gnattools. Notice $(srcdir)/gcc/ada/gcc-interface/Makefile.in reads: # target overrides ifneq ($(tmake_file),) include $(tmake_file) endif # host overrides ifneq ($(xmake_file),) include $(xmake_file) endif There are other backends like x86 and mips that use STAMP in their t-snip, so I wonder how you can conclude that ada does not include code that might require STAMP? Here is a patch that bypasses the need of STAMP in t-avr. Rolf can test it. PR55243 * config/avr/t-avr: Don't automatically rebuild $(srcdir)/config/avr/t-multilib $(srcdir)/config/avr/avr-tables.opt $(srcdir)/doc/avr-mmcu.texi (avr-mcus): New phony target to build them on request. (s-avr-mlib, s-avr-mmcu-texi): Remove. * avr/avr-mcus.def: Adjust comments.