comparison src/s/freebsd.h @ 6930:4d3971045057

Rewrite to use netbsd.h and define NO_SHARED_LIBS.
author Richard M. Stallman <rms@gnu.org>
date Sun, 17 Apr 1994 05:04:12 +0000
parents c9b0d453d78d
children b557aa86c53a
comparison
equal deleted inserted replaced
6929:c85f8c33d16b 6930:4d3971045057
1 /* s/ file for freebsd system. */ 1 /* s/ file for freebsd system. */
2 2
3 /* Get most of the stuff from bsd4.3 */ 3 /* '__FreeBSD__' is defined by the preprocessor on FreeBSD-1.1 and up.
4 #include "bsd4-3.h" 4 Earlier versions do not have shared libraries, so inhibit them. */
5 #ifndef __FreeBSD__
6 #define NO_SHARED_LIBS
7 #endif
5 8
6 #undef SYSTEM_TYPE 9 #include "netbsd.h"
7 #define SYSTEM_TYPE "freebsd"
8 10
9 #undef KERNEL_FILE 11 #undef LIB_GCC
10 #define KERNEL_FILE "/386bsd" 12 #define LIB_GCC -lgcc
11 13 #undef NEED_ERRNO
12 #undef LDAV_SYMBOL
13 #define LDAV_SYMBOL "_averunnable"
14
15 #define SIGNALS_VIA_CHARACTERS
16
17 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
18
19 #define A_TEXT_OFFSET(x) (sizeof (struct exec))
20 #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr))
21
22 #define LIBS_DEBUG
23 #define LIBS_SYSTEM -lutil
24
25 #define HAVE_GETLOADAVG
26
27 /* For mem-limits.h. */
28 #define BSD4_2
29
30 /* Shared library stuff. */
31 #define TEXT_START 0
32 #define DATA_START 0
33 #define UNEXEC unexfreebsd.o
34 #define RUN_TIME_REMAP
35 #define LINKER cc
36
37 /* Reread the time zone on startup. */
38 #define LOCALTIME_CACHE
39
40 #define HAVE_TERMIOS
41 #define NO_TERMIO