diff options
Diffstat (limited to 'editors/emacs21/files/dragonfly.h')
-rw-r--r-- | editors/emacs21/files/dragonfly.h | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/editors/emacs21/files/dragonfly.h b/editors/emacs21/files/dragonfly.h index 4f17515b805..fdd9e381545 100644 --- a/editors/emacs21/files/dragonfly.h +++ b/editors/emacs21/files/dragonfly.h @@ -41,19 +41,12 @@ Boston, MA 02111-1307, USA. */ #undef BSD_PGRPS #define GETPGRP_NO_ARG -#if defined(__GNUC__) && __GNUC__ == 3 && __GNUC_MINOR__ == 4 -# ifndef DFLY_PRE_17_CRT -#define START_FILES pre-crt0.o /usr/lib/gcc34/crt1.o /usr/lib/gcc34/crti.o /usr/lib/gcc34/crtbegin.o -#define LIB_STANDARD -L/usr/lib/gcc34 -lgcc -lc -lgcc /usr/lib/gcc34/crtend.o /usr/lib/gcc34/crtn.o -# else -#define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -#define LIB_STANDARD -L/usr/lib/gcc34 -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o -# endif -#elif defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ == 1 +#ifdef DFLY_CRT_USRLIB +#define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/gcc41/crtbegin.o +#define LIB_STANDARD -L/usr/lib/gcc41 -lgcc -lc -lgcc /usr/lib/gcc41/crtend.o /usr/lib/crtn.o +#else #define START_FILES pre-crt0.o /usr/lib/gcc41/crt1.o /usr/lib/gcc41/crti.o /usr/lib/gcc41/crtbegin.o #define LIB_STANDARD -L/usr/lib/gcc41 -lgcc -lc -lgcc /usr/lib/gcc41/crtend.o /usr/lib/gcc41/crtn.o -#else -#error "Add compiler version magic" #endif #define LD_SWITCH_SYSTEM_1 |