Mercurial > hg > xemacs-beta
comparison src/s/freebsd.h @ 318:afd57c14dfc8 r21-0b57
Import from CVS: tag r21-0b57
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:45:36 +0200 |
parents | 57709be46d1b |
children | 972bbb6d6ca2 |
comparison
equal
deleted
inserted
replaced
317:a2fc9afbef65 | 318:afd57c14dfc8 |
---|---|
47 #endif /* FreeBSD >= 199701 && < 226000 */ | 47 #endif /* FreeBSD >= 199701 && < 226000 */ |
48 #endif /* C code */ | 48 #endif /* C code */ |
49 | 49 |
50 #define LIBS_TERMCAP "-ltermcap" | 50 #define LIBS_TERMCAP "-ltermcap" |
51 | 51 |
52 #ifdef __ELF__ /* since from 3.0-CURRENT(maybe 19980831 or later) */ | |
53 #ifndef NOT_C_CODE | |
54 #include <stddef.h> | |
55 #endif | |
56 #define LD_SWITCH_SYSTEM | |
57 #define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o | |
58 #define UNEXEC unexelf.o | |
59 #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o | |
60 #define LINKER "$(CC) -nostdlib" | |
61 #undef LIB_GCC | |
62 #define LIB_GCC | |
63 | |
64 #else /* not __ELF__ */ | |
65 | |
52 #ifndef NO_SHARED_LIBS | 66 #ifndef NO_SHARED_LIBS |
53 #if 0 /* mrb */ | 67 #if 0 /* mrb */ |
54 #define LIB_GCC "-lgcc" | 68 #define LIB_GCC "-lgcc" |
55 #define LD_SWITCH_SYSTEM "-dc -dp -e start" | 69 #define LD_SWITCH_SYSTEM "-dc -dp -e start" |
56 #define START_FILES "pre-crt0.o /usr/lib/crt0.o" | 70 #define START_FILES "pre-crt0.o /usr/lib/crt0.o" |
77 #define A_TEXT_OFFSET(x) (sizeof (struct exec)) | 91 #define A_TEXT_OFFSET(x) (sizeof (struct exec)) |
78 #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr)) | 92 #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr)) |
79 #endif /* __FreeBSD__ */ | 93 #endif /* __FreeBSD__ */ |
80 #endif /* NO_SHARED_LIBS */ | 94 #endif /* NO_SHARED_LIBS */ |
81 | 95 |
96 #endif /* not __ELF__ */ | |
97 | |
82 #define HAVE_GETLOADAVG | 98 #define HAVE_GETLOADAVG |
83 /* #define NO_TERMIO */ /* detected in configure */ | 99 /* #define NO_TERMIO */ /* detected in configure */ |
84 #define DECLARE_GETPWUID_WITH_UID_T | 100 #define DECLARE_GETPWUID_WITH_UID_T |
85 | 101 |
86 /* freebsd uses OXTABS instead of the expected TAB3. */ | 102 /* freebsd uses OXTABS instead of the expected TAB3. */ |