[PATCH] sparc configury cleanup

David O'Brien obrien@FreeBSD.org
Sat Nov 3 08:36:00 GMT 2001


On Mon, Nov 12, 2001 at 02:59:51PM -0800, David S. Miller wrote:
> 
> So if linux64.h and linux.h don't include sparc/sysv4.h,
> who is going to do it for them?

Via `tm_file' as is the proper way to handle this.[*]

 sparc64-*-linux*)		# 64-bit Sparc's running GNU/Linux
 	tmake_file="t-slibgcc-elf-ver t-linux sparc/t-linux64"
-	tm_file=sparc/linux64.h
+	tm_file="sparc/sparc_bi.h ${tm_file} sparc/sysv4.h sparc/linux64.h"

 sparc-*-linux*)		# Sparc's running GNU/Linux, libc6
 	xmake_file=x-linux
-	tm_file=sparc/linux.h
+	tm_file="${tm_file} sparc/sysv4.h sparc/linux.h"


[*] as I was taught by Jeff Law and Richard Henderson in the past



More information about the Gcc-patches mailing list