Stuart Anderson writes: > Package: gcc-4.0 > Version: 4.0.2-4.1 > Severity: wishlist > Tags: patch > > > Please enable tri-arch support for the MIPS platforms. The attached > patch (and a corresponding patch to glibc) provide support for n32 & n64 > ABIs in addition to the current o32 ABI. These patches have been tested > by building n32 & n64 version of the ltp packages.
I'll leave that to Thiemo :-) some comments: > Index: debian/patches/biarch-include-mips.dpatch > +--- gcc/Makefile.in~ 2005-04-04 21:45:13.000000000 +0200 > ++++ gcc/Makefile.in 2005-07-08 21:04:29.808308064 +0200 > +@@ -2680,6 +2680,8 @@ > + -DLOCAL_INCLUDE_DIR=\"$(local_includedir)\" \ > + -DCROSS_INCLUDE_DIR=\"$(CROSS_SYSTEM_HEADER_DIR)\" \ > + -DTOOL_INCLUDE_DIR=\"$(gcc_tooldir)/include\" \ > ++ -DTARGET32_MACHINE=\"mips-linux-gnu\" \ > ++ -DTARGET64_MACHINE=\"mips64-linux-gnu\" \ > + @TARGET_SYSTEM_ROOT_DEFINE@ should be removed, and defined in debian/rules.defs > +--- gcc/cppdefault.c~ 2004-11-03 03:23:49.000000000 +0000 > ++++ gcc/cppdefault.c 2005-07-09 10:19:46.762899104 +0000 why can't the biarch-include patch not be used? > Index: debian/rules.defs > +ifneq (, $(filter $(DEB_TARGET_ARCH_CPU),mips mipsel)) > + # on mips, we are really tri-arch > + TARGET32_MACHINE := $(TARGET_ALIAS) > + TARGET64_MACHINE := $(TARGET_ALIAS) > +endif please define these for mips here. as we don't have all required libraries like zlib for biarch in lib, some of with_lib32* and with_lib64* macros have to be disabled (or maybe that's only the case for the gcc-4.1 packaging). > +# mips/mipsel build -------------------- > +ifneq (, $(filter $(DEB_TARGET_ARCH_CPU),mipsel)) > + export GNUTARGET = elf64-tradlittlemips > +endif > +ifneq (, $(filter $(DEB_TARGET_ARCH_CPU),mips)) > + export GNUTARGET = elf64-tradbigmips > +endif where are these used? Thanks, Matthias -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

