This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Use standard directory names for IRIX installations
- From: Richard Sandiford <rsandifo at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 08 Jan 2005 12:09:28 +0000
- Subject: [committed] Use standard directory names for IRIX installations
Something from my long-term to-do list. Perhaps it's not technically
a bug, but it's certainly a long-standing wart, and it's the kind of
thing that seems best suited to a major version number change.
At the moment, the o32 and n64 shared libraries get installed in
lib/mabi=32 and lib/mabi=64, with the default n32 versions going
into lib/. This is completely non-standard from an IRIX point of
view but it predates the MULTILIB_OSDIRNAMES machinery that made
the standard layout possible.
The old names also led to confusion because the associated
MULTILIB_DIRNAMES were mabi-32 and mabi-64 rather than mabi=32
and mabi=64 (ISTR using dashes was a fairly recent change).
This patch makes us use the standard lib/ (o32) lib32/ (n32) and
lib64/ (n64) names instead. Tested on mips-sgi-irix6.5, applied
to head. I'll update gcc-4.0/changes.html in a sec.
Richard
* config/mips/t-iris6 (MULTILIB_DIRNAMES): Use -mabi argument values.
(MULTILIB_OSDIRNAMES): Use the standard lib, lib32 and lib64.
Index: config/mips/t-iris6
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mips/t-iris6,v
retrieving revision 1.25
diff -u -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.25 t-iris6
--- config/mips/t-iris6 6 Nov 2004 22:45:24 -0000 1.25
+++ config/mips/t-iris6 8 Jan 2005 10:43:34 -0000
@@ -1,7 +1,7 @@
MULTILIB_OPTIONS=mabi=n32/mabi=32/mabi=64
-MULTILIB_DIRNAMES=
+MULTILIB_DIRNAMES=n32 32 64
MULTILIB_MATCHES=
-MULTILIB_OSDIRNAMES=. mabi=32 mabi=64
+MULTILIB_OSDIRNAMES=../lib32 ../lib ../lib64
LIBGCC = stmp-multilib
INSTALL_LIBGCC = install-multilib