freebsd-native.h revision 49853
1/* $Id: freebsd-native.h,v 1.1 1999/04/28 18:48:05 obrien Exp $ */
2
3/* FREEBSD_NATIVE is defined when gcc is integrated into the FreeBSD
4   source tree so it can be configured appropriately without using
5   the GNU configure/build mechanism. */
6
7/* Look for the include files in the system-defined places.  */
8
9#define GPLUSPLUS_INCLUDE_DIR		"/usr/include/g++"
10#define GCC_INCLUDE_DIR			"/usr/include"
11
12/* Now that GCC knows what the include path applies to, put the G++ one first.
13   C++ can now have include files that override the default C ones.  */
14#undef INCLUDE_DEFAULTS
15#define INCLUDE_DEFAULTS			\
16  {						\
17    { GPLUSPLUS_INCLUDE_DIR, "C++", 1, 1 },	\
18    { GCC_INCLUDE_DIR, "GCC", 0, 0 },		\
19    { 0, 0, 0, 0 }				\
20  }
21
22/* Under FreeBSD, the normal location of the compiler back ends is the
23   /usr/libexec directory.  */
24
25#undef STANDARD_EXEC_PREFIX
26#undef TOOLDIR_BASE_PREFIX
27#undef MD_EXEC_PREFIX
28
29#define STANDARD_EXEC_PREFIX		"/usr/libexec/"
30#define TOOLDIR_BASE_PREFIX		"/usr/libexec/"
31#define MD_EXEC_PREFIX			"/usr/libexec/"
32
33/* Under FreeBSD, the normal location of the various *crt*.o files is the
34   /usr/lib directory.  */
35
36#undef STANDARD_STARTFILE_PREFIX
37#define STANDARD_STARTFILE_PREFIX	"/usr/lib/"
38
39/* FreeBSD is 4.4BSD derived */
40#define bsd4_4
41
42/* Tell gcc to locate libgcc.a for us according to the -m rules.  */
43#undef LIBGCC_SPEC
44#define LIBGCC_SPEC \
45 "%{!shared:%{!pthread:%{!kthread:libgcc.a%s}}%{pthread|kthread:libgcc_r.a%s}}"
46