changeset 79861:6008e0a6e40d

(START_FILES, LIB_STANDARD): Adjust value according to HAVE_X86_64_LIB64_DIR.
author Glenn Morris <rgm@gnu.org>
date Thu, 17 Jan 2008 04:03:58 +0000
parents 9f6170e094c3
children c1c398668ac8
files src/m/ibms390x.h
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/m/ibms390x.h	Wed Jan 16 21:26:59 2008 +0000
+++ b/src/m/ibms390x.h	Thu Jan 17 04:03:58 2008 +0000
@@ -23,7 +23,7 @@
    into ibms390.h.  */
 
 
-/* The following line tells the configuration script what sort of 
+/* The following line tells the configuration script what sort of
    operating system this machine is likely to run.
    USUAL-OPSYS="<name of system .h file here, without the s- or .h>"
 
@@ -161,10 +161,18 @@
 #define XPNTR(a) XUINT (a)
 
 #undef START_FILES
+#ifdef HAVE_X86_64_LIB64_DIR
 #define START_FILES pre-crt0.o /usr/lib64/crt1.o /usr/lib64/crti.o
+#else
+#define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o
+#endif
 
 #undef LIB_STANDARD
+#ifdef HAVE_X86_64_LIB64_DIR
 #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib64/crtn.o
+#else
+#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtn.o
+#endif
 
 /* arch-tag: 4b87653c-6add-4663-8691-7d9dc17b5519
    (do not change this comment) */