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. */
7 #define FREEBSD_NATIVE 1
9 /* Fake out gcc/config/freebsd<version>.h. */
11 #define FBSD_CC_VER 1000001 /* form like __FreeBSD_version */
13 #undef SYSTEM_INCLUDE_DIR /* We don't need one for now. */
14 #undef TOOL_INCLUDE_DIR /* We don't need one for now. */
15 #undef LOCAL_INCLUDE_DIR /* We don't wish to support one. */
17 /* Look for the include files in the system-defined places. */
18 #define GPLUSPLUS_INCLUDE_DIR PREFIX"/include/c++/"GCCVER
19 #define GPLUSPLUS_BACKWARD_INCLUDE_DIR PREFIX"/include/c++/"GCCVER"/backward"
20 #define GCC_INCLUDE_DIR PREFIX"/include/gcc/"GCCVER
22 #define CROSS_INCLUDE_DIR PREFIX"/include"
24 #define STANDARD_INCLUDE_DIR PREFIX"/include"
27 /* Under FreeBSD, the normal location of the compiler back ends is the
28 /usr/libexec directory.
30 ``cc --print-search-dirs'' gives:
31 install: STANDARD_EXEC_PREFIX/
32 programs: STANDARD_EXEC_PREFIX:MD_EXEC_PREFIX
33 libraries: STANDARD_STARTFILE_PREFIX
35 #undef STANDARD_BINDIR_PREFIX /* We don't need one for now. */
36 #define STANDARD_EXEC_PREFIX PREFIX"/libexec/"
37 #define STANDARD_LIBEXEC_PREFIX PREFIX"/libexec/"
38 #define TOOLDIR_BASE_PREFIX PREFIX
39 #undef MD_EXEC_PREFIX /* We don't want one. */
40 #define FBSD_DATA_PREFIX PREFIX"/libdata/gcc/"
42 /* Under FreeBSD, the normal location of the various *crt*.o files is the
43 /usr/lib directory. */
45 #undef MD_STARTFILE_PREFIX /* We don't need one for now. */
46 #define STANDARD_STARTFILE_PREFIX PREFIX"/lib/"
47 #define STARTFILE_PREFIX_SPEC PREFIX"/lib/"
50 #define LIBGCC_SPEC "%{shared: -lgcc_pic} \
51 %{!shared: %{!pg: -lgcc} %{pg: -lgcc_p}}"
53 #define LIBSTDCXX_PROFILE "-lstdc++_p"
54 #define MATH_LIBRARY_PROFILE "-lm_p"
55 #define FORTRAN_LIBRARY_PROFILE "-lg2c_p"
57 #define LIBGCC_SPEC "-lgcc"
58 /* For the native system compiler, we actually build libgcc in a profiled
59 version. So we should use it with -pg. */
60 #define LIBGCC_STATIC_LIB_SPEC "%{pg: -lgcc_p;:-lgcc}"
61 #define LIBGCC_EH_STATIC_LIB_SPEC "%{pg: -lgcc_eh_p;:-lgcc_eh}"
63 /* FreeBSD is 4.4BSD derived */