1 /* $FreeBSD: src/gnu/usr.bin/cc/cc_tools/freebsd-native.h,v 1.5.2.9 2002/05/01 20:04:37 obrien Exp $ */
2 /* $DragonFly: src/gnu/usr.bin/cc/cc_tools/Attic/dragonfly-native.h,v 1.2 2004/01/16 07:45:21 dillon Exp $ */
4 /* FREEBSD_NATIVE is defined when gcc is integrated into the FreeBSD
5 source tree so it can be configured appropriately without using
6 the GNU configure/build mechanism. */
8 #define FREEBSD_NATIVE 1
10 #undef SYSTEM_INCLUDE_DIR /* We don't need one for now. */
11 #undef GCC_INCLUDE_DIR /* We don't need one for now. */
12 #undef TOOL_INCLUDE_DIR /* We don't need one for now. */
13 #undef LOCAL_INCLUDE_DIR /* We don't wish to support one. */
15 /* Look for the include files in the system-defined places. */
16 #define GPLUSPLUS_INCLUDE_DIR PREFIX"/include/g++"
17 #define GCC_INCLUDE_DIR PREFIX"/include"
19 #define CROSS_INCLUDE_DIR PREFIX"/include"
21 #define STANDARD_INCLUDE_DIR PREFIX"/include"
24 /* Under FreeBSD, the normal location of the compiler back ends is the
25 /usr/libexec directory.
27 ``cc --print-search-dirs'' gives:
28 install: STANDARD_EXEC_PREFIX/(null)
29 programs: /usr/libexec/<OBJFORMAT>/:STANDARD_EXEC_PREFIX:MD_EXEC_PREFIX
30 libraries: MD_EXEC_PREFIX:MD_STARTFILE_PREFIX:STANDARD_STARTFILE_PREFIX
33 #undef TOOLDIR_BASE_PREFIX /* Old?? This is not documented. */
34 #define STANDARD_EXEC_PREFIX PREFIX"/libexec/gcc2/"
35 #undef MD_EXEC_PREFIX /* We don't want one. */
37 /* Under FreeBSD, the normal location of the various *crt*.o files is the
38 /usr/lib directory. */
40 #define STANDARD_STARTFILE_PREFIX PREFIX"/lib/"
42 #define CROSS_STARTFILE_PREFIX PREFIX"/lib/gcc2/"
44 #define MD_STARTFILE_PREFIX PREFIX"/lib/gcc2/"
46 /* For the native system compiler, we actually build libgcc in a profiled
47 version. So we should use it with -pg. */
48 #define LIBGCC_SPEC "%{!pg: -lgcc} %{pg: -lgcc_p}"
49 #define LIBSTDCXX_PROFILE "-lstdc++_p"
50 #define MATH_LIBRARY_PROFILE "-lm_p"
52 /* FreeBSD is 4.4BSD derived */