freebsd-native.h revision 54990
1/* $FreeBSD: head/gnu/usr.bin/cc/cc_tools/freebsd-native.h 54990 1999-12-22 05:00:28Z obrien $ */
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#undef SYSTEM_INCLUDE_DIR		/* We don't need one for now. */
8#undef GCC_INCLUDE_DIR			/* We don't need one for now. */
9#undef TOOL_INCLUDE_DIR			/* We don't need one for now. */
10#undef LOCAL_INCLUDE_DIR		/* We don't wish to support one. */
11
12/* Look for the include files in the system-defined places.  */
13#define GPLUSPLUS_INCLUDE_DIR		"/usr/include/g++"
14#define GCC_INCLUDE_DIR			"/usr/include"
15
16/* Under FreeBSD, the normal location of the compiler back ends is the
17   /usr/libexec directory.
18
19   ``cc --print-search-dirs'' gives:
20   install: STANDARD_EXEC_PREFIX/(null)
21   programs: /usr/libexec/<OBJFORMAT>/:MD_EXEC_PREFIX
22   libraries: MD_EXEC_PREFIX:MD_STARTFILE_PREFIX:STANDARD_STARTFILE_PREFIX
23
24   We really don't need a "STANDARD_EXEC_PREFIX".  However w/o it,
25   "--print-search-dirs" reports "install: /usr/local/lib/gcc-lib/(null)".
26   It is not harmful, but is just plain wrong.  So we define a
27   "STANDARD_EXEC_PREFIX" to not be misleading.  */
28
29#undef STANDARD_EXEC_PREFIX
30#undef TOOLDIR_BASE_PREFIX		/* Old??  This is not documented. */
31#undef MD_EXEC_PREFIX
32
33#define STANDARD_EXEC_PREFIX		"/usr/libexec/"
34#define MD_EXEC_PREFIX			"/usr/libexec/"
35
36/* Under FreeBSD, the normal location of the various *crt*.o files is the
37   /usr/lib directory.  */
38
39#undef STANDARD_STARTFILE_PREFIX
40#undef MD_STARTFILE_PREFIX		/* We don't need one for now. */
41
42#define STANDARD_STARTFILE_PREFIX	"/usr/lib/"
43
44/* FreeBSD is 4.4BSD derived */
45#define bsd4_4
46
47/* Tell gcc to locate libgcc.a for us according to the -m rules.  */
48#undef LIBGCC_SPEC
49#define LIBGCC_SPEC \
50 "%{!shared:%{!pthread:%{!kthread:libgcc.a%s}}%{pthread|kthread:libgcc_r.a%s}}"
51