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