diff src/s/gnu-linux.h @ 108274:8416c8d075e3

Define LIB_STANDARD and START_FILES using autoconf. * s/usg5-4.h (LIB_STANDARD): * s/netbsd.h (START_FILES): * s/irix6-5.h (LIB_STANDARD): * s/hpux10-20.h (LIB_STANDARD, START_FILES): * s/gnu-linux.h (START_FILES, LIB_STANDARD): * s/freebsd.h (START_FILES): * s/darwin.h (START_FILES): * s/cygwin.h (START_FILES): * s/aix4-2.h (LIB_STANDARD): * m/ibmrs6000.h (START_FILES): Remove, move logic to configure.in. * Makefile.in (STARTFILES): Rename to START_FILES, define using autoconf, not cpp. Define START_FILES and LIB_STANDARD using autoconf. * configure.in (START_FILES, LIB_STANDARD): New definitions, moved here from src/s/*.h. (HAVE_CRTIN): Remove, inline logic in the netbsd START_FILES/LIB_STANDARD computation.
author Dan Nicolaescu <dann@ics.uci.edu>
date Thu, 06 May 2010 17:30:56 -0700
parents 9aa39b975b8a
children 9c003610b6fc
line wrap: on
line diff
--- a/src/s/gnu-linux.h	Thu May 06 12:46:47 2010 -0700
+++ b/src/s/gnu-linux.h	Thu May 06 17:30:56 2010 -0700
@@ -169,8 +169,6 @@
 /* Ask GCC where to find libgcc.a.  */
 #define LIB_GCC `$(CC) $(C_SWITCH_X_SITE) -print-libgcc-file-name`
 
-#define START_FILES pre-crt0.o $(CRT_DIR)/crt1.o $(CRT_DIR)/crti.o
-
 /* Here is how to find X Windows.  LD_SWITCH_X_SITE_AUX gives an -R option
    that says where to find X windows at run time.  */
 
@@ -190,7 +188,6 @@
 
 #undef LIB_GCC
 #define LIB_GCC
-#define LIB_STANDARD -lgcc -lc -lgcc $(CRT_DIR)/crtn.o
 
 #ifdef HAVE_LIBNCURSES
 #define TERMINFO