Move binutils from /usr/libexec/gcc2/{aout,elf} to
[dragonfly.git] / gnu / usr.bin / cc / cc_tools / dragonfly-native.h
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.3 2004/01/28 16:41:17 joerg Exp $ */
3
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. */
7
8 #define FREEBSD_NATIVE 1
9
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. */
14
15 /* Look for the include files in the system-defined places.  */
16 #define GPLUSPLUS_INCLUDE_DIR           PREFIX"/include/c++/2.95"
17 #define GCC_INCLUDE_DIR                 PREFIX"/include"
18 #ifdef CROSS_COMPILE
19 #define CROSS_INCLUDE_DIR               PREFIX"/include"
20 #else
21 #define STANDARD_INCLUDE_DIR            PREFIX"/include"
22 #endif
23
24 /* Under FreeBSD, the normal location of the compiler back ends is the
25    /usr/libexec directory.
26
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
31 */
32
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. */
36
37 /* Under FreeBSD, the normal location of the various *crt*.o files is the
38    /usr/lib directory.  */
39
40 #define STANDARD_STARTFILE_PREFIX       PREFIX"/lib/"
41 #ifdef CROSS_COMPILE
42 #define CROSS_STARTFILE_PREFIX          PREFIX"/lib/gcc2/"
43 #endif
44 #define  MD_STARTFILE_PREFIX            PREFIX"/lib/gcc2/"
45
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"
51
52 /* FreeBSD is 4.4BSD derived */
53 #define bsd4_4