Source: gnat-4.9 Version: 4.9.2-1 Severity: important Tags: patch Hi,
I managed to successfully bootstrap gnat on mips64el, but it required a small patch to the build system for it to build on Debian. It's similar to patches used on other 64-bit arches and is due to Debian not putting the 64-bit libs in lib64. Thanks, James
--- a/src/gcc/ada/gcc-interface/Makefile.in +++ b/src/gcc/ada/gcc-interface/Makefile.in @@ -1893,7 +1893,7 @@ ifeq ($(strip $(filter-out mips64el linu LIBGNAT_TARGET_PAIRS_64 = \ system.ads<system-linux-mips64el.ads - ifeq ($(strip $(shell $(GCC_FOR_TARGET) $(GNATLIBCFLAGS) -print-multi-os-directory)),../lib64) + ifneq ($(strip $(MULTISUBDIR)),/32) LIBGNAT_TARGET_PAIRS = \ $(LIBGNAT_TARGET_PAIRS_COMMON) $(LIBGNAT_TARGET_PAIRS_64) else