blob: 998287bcf91e59efe6e379a2ed593fb73fa64176 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
*** ./config/i386/freebsd.h.orig Fri Sep 4 23:57:29 1998
--- ./config/i386/freebsd.h Fri Sep 4 23:58:54 1998
***************
*** 49,55 ****
#define CPP_SPEC "%{posix:-D_POSIX_SOURCE}"
/* Like the default, except no -lg. */
! #define LIB_SPEC "%{!shared:%{!pg:-lc}%{pg:-lc_p}}"
#undef SIZE_TYPE
#define SIZE_TYPE "unsigned int"
--- 49,55 ----
#define CPP_SPEC "%{posix:-D_POSIX_SOURCE}"
/* Like the default, except no -lg. */
! #define LIB_SPEC "%{!shared:%{!pg:%{!pthread:%{!kthread:-lc}%{kthread:-lpthread -lc}}%{pthread:-lc_r}}%{pg:%{!pthread:%{!kthread:-lc_p}%{kthread:-lpthread_p -lc_p}}%{pthread:-lc_r_p}}}"
#undef SIZE_TYPE
#define SIZE_TYPE "unsigned int"
*** ./config/i386/freebsd-elf.h.orig Fri Dec 5 07:15:34 1997
--- ./config/i386/freebsd-elf.h Fri Feb 12 21:35:52 1999
***************
*** 140,146 ****
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#undef CPP_PREDEFINES
! #define CPP_PREDEFINES "-Dunix -D__ELF__ -D__FreeBSD__=2 -Asystem(FreeBSD)"
#undef CPP_SPEC
#define CPP_SPEC "%(cpp_cpu) %[cpp_cpu] %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} %{posix:-D_POSIX_SOURCE}"
--- 140,146 ----
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#undef CPP_PREDEFINES
! #define CPP_PREDEFINES "-Di386 -Dunix -D__ELF__ -D__FreeBSD__=3 -Asystem(FreeBSD) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
#undef CPP_SPEC
#define CPP_SPEC "%(cpp_cpu) %[cpp_cpu] %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} %{posix:-D_POSIX_SOURCE}"
***************
*** 152,159 ****
* -lc_p or -ggdb to LDFLAGS at the link time, respectively.
*/
#define LIB_SPEC \
! "%{!shared: %{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} \
! %{!ggdb:-lc} %{ggdb:-lg}}"
#else
#define LIB_SPEC \
"%{!shared: \
--- 152,164 ----
* -lc_p or -ggdb to LDFLAGS at the link time, respectively.
*/
#define LIB_SPEC \
! "%{!shared: \
! %{!pg: \
! %{!pthread: %{!kthread:-lc} %{kthread:-lpthread -lc}} \
! %{pthread:-lc_r}} \
! %{pg: \
! %{!pthread: %{!kthread:-lc_p} %{kthread:-lpthread_p -lc_p}} \
! %{pthread:-lc_r_p}}}"
#else
#define LIB_SPEC \
"%{!shared: \
|