This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Don't build ia64-hpux 32-bit multilib twice

ia64-hpux defines 32- and 64-bit multilibs, but does not set
MULTILIB_DEFAULTS, so the 32-bit (default) multilib gets built twice,
wasting both time and disk space.

bootstrapped ia64-hp-hpux11.22, applied mainline and 3.4 branch 
(Mark has approved this for the branch, off-list).


        * config/ia64/hpux.h (MULTILIB_DEFAULTS): Define.
        (LIBGCC_SPEC): Update to match.

Index: config/ia64/hpux.h
--- config/ia64/hpux.h	27 Feb 2004 17:17:01 -0000	1.38
+++ config/ia64/hpux.h	9 Mar 2004 23:40:44 -0000
@@ -86,7 +86,7 @@ do {							\
 #define LIBGCC_SPEC \
-  "%{shared-libgcc:%{!mlp64:-lgcc_s_hpux32}%{mlp64:-lgcc_s_hpux64} -lgcc} \
+  "%{shared-libgcc:%{!mlp64:-lgcc_s}%{mlp64:-lgcc_s_hpux64} -lgcc} \
@@ -94,6 +94,8 @@ do {							\
   { "ilp32",    MASK_ILP32,     "Generate ILP32 code" }, \
   { "lp64",    -MASK_ILP32,     "Generate LP64 code" },
+#define MULTILIB_DEFAULTS { "milp32" }
 /* A C expression whose value is zero if pointers that need to be extended
    from being `POINTER_SIZE' bits wide to `Pmode' are sign-extended and

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]