comparison src/s/linux.h @ 863:42375619fa45

[xemacs-hg @ 2002-06-04 06:03:59 by andyp] merge 21.4 windows changes, minimally tested
author andyp
date Tue, 04 Jun 2002 06:05:53 +0000
parents 943eaba38521
children d46451e73f6d
comparison
equal deleted inserted replaced
862:278c743f1578 863:42375619fa45
84 #else 84 #else
85 /**/ 85 /**/
86 #if defined(__linux__) && defined(powerpc) /*Added by Fukui*/ 86 #if defined(__linux__) && defined(powerpc) /*Added by Fukui*/
87 #define START_FILES /*Added by Fukui*/ 87 #define START_FILES /*Added by Fukui*/
88 #else /*Added by Fukui*/ 88 #else /*Added by Fukui*/
89 89 #if defined __s390x__ || defined __x86_64__
90 #define START_FILES "pre-crt0.o /usr/lib64/crt1.o /usr/lib64/crti.o"
91 #else
90 #define START_FILES "pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o" 92 #define START_FILES "pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o"
93 #endif
91 #endif /*Added by Fukui*/ 94 #endif /*Added by Fukui*/
92 #endif 95 #endif
93 96
94 /* This is needed for sysdep.c */ 97 /* This is needed for sysdep.c */
95 98
106 #ifndef LINUX_ELF 109 #ifndef LINUX_ELF
107 #define LIB_STANDARD "-lc" /* avoid -lPW */ 110 #define LIB_STANDARD "-lc" /* avoid -lPW */
108 #else 111 #else
109 /*#undef LIB_GCC 112 /*#undef LIB_GCC
110 #define LIB_GCC*/ 113 #define LIB_GCC*/
114 #if defined __s390x__ || defined __x86_64__
115 #define LIB_STANDARD "-lgcc -lc -lgcc /usr/lib64/crtn.o"
116 #else
111 #define LIB_STANDARD "-lgcc -lc -lgcc /usr/lib/crtn.o" 117 #define LIB_STANDARD "-lgcc -lc -lgcc /usr/lib/crtn.o"
118 #endif
112 #define LINKER "$(CC) -nostdlib" 119 #define LINKER "$(CC) -nostdlib"
113 #endif 120 #endif
114 121
115 #ifdef TERM 122 #ifdef TERM
116 #define LIBS_SYSTEM "-lclient" 123 #define LIBS_SYSTEM "-lclient"