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 602001 /* 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++/3.4"
19 #define GPLUSPLUS_BACKWARD_INCLUDE_DIR PREFIX"/include/c++/3.4/backward"
20 #define GCC_INCLUDE_DIR PREFIX"/include"
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/(null)
32 programs: /usr/libexec/<OBJFORMAT>/:STANDARD_EXEC_PREFIX:MD_EXEC_PREFIX
33 libraries: MD_EXEC_PREFIX:MD_STARTFILE_PREFIX: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/"
49 /* For the native system compiler, we actually build libgcc in a profiled
50 version. So we should use it with -pg. */
51 #define LIBGCC_SPEC "%{shared: -lgcc_pic} \
52 %{!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 /* FreeBSD is 4.4BSD derived */
60 /* And now they want to replace ctype.h.... grr... [stupid, IMHO] */
61 #define xxxISDIGIT isdigit
62 #define xxxISGRAPH isgraph
63 #define xxxISLOWER islower
64 #define xxxISSPACE isspace
65 #define xxxTOUPPER toupper