[request for pair of eyes] X_*FLAGS/T_*FLAGS/etc. cleanup

Paolo Bonzini bonzini@gnu.org
Fri Jul 25 13:38:00 GMT 2008


This patch removes several of the X_* and T_* makefile variables.  These 
are nowadays deprecated and should be replaced either by toplevel 
makefile fragments or by configure tests.

In particular, Ada supported a plethora of those even though in the end 
only X_ADA_CFLAGS was used.  This patch then moves that to the toplevel 
configure (creating two host fragments for HP/UX), and removes the 
resulting duplicate code in gnattools.

Most of the patch is s/ALL_ADA_CFLAGS/ADA_CFLAGS/g.

T_CFLAGS is still used by config/t-libunwind and config/ia64/t-hpux, and 
might be cleaned up later.

I'll apply in 48 hours, or delay if someone tells me that they are going 
to test it on HP/UX for real.  If you want to apply it, remember to do first

	cp gcc/config/pa/x-ada config/mh-pa
	cp gcc/config/pa/x-ada-hpux10 config/mh-pa-hpux10

and to regenerate the makefiles (including the toplevel one which 
requires autogen).

Bootstrapped/regtested C & Ada on i686-pc-linux-gnu.

With the next cleanup I hope I'll remove libada.mk which has been a 
useless baggage since gnattools was separated from libada.

Paolo
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: build-cleanup-4.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080725/d8fd1938/attachment.ksh>


More information about the Gcc-patches mailing list