1 #undef  PREFIX
2 #define PREFIX  PREFIX1
3 #ifndef PREFIX2
4 #define PREFIX2	PREFIX1
5 #endif
6 #ifdef CTOOLS
7 #define RUNPATH "-rpath"
8 #else
9 #define RUNPATH "--enable-new-dtags -rpath"
10 #endif
11 
12 #define LINK_LIBGCC_SPEC ""
13 #define LIBGCC_SPEC \
14 "%{static|static-libgcc:-lgcc -lgcc_eh} \
15  %{!static: \
16   %{!static-libgcc: \
17    %{!shared-libgcc:-lgcc --as-needed -lgcc_pic --no-as-needed} \
18    %{shared-libgcc:-lgcc_pic \
19     %{!shared: -lgcc} \
20    } \
21   } \
22  }"
23 
24 #undef	LINK_SPEC
25 #define LINK_SPEC DFBSD_LINK_SPEC \
26 "%{pg: -L" PREFIX2 "/lib/gcc" GCCSHORTVER "/profile \
27   %{!static: " RUNPATH " /usr/lib/gcc" GCCSHORTVER "/profile} \
28  } \
29  -L" PREFIX2 "/lib/gcc" GCCSHORTVER " \
30  %{!static: " RUNPATH " /usr/lib/gcc" GCCSHORTVER "} \
31  %{pg: \
32   %{!nostdlib: \
33    %{!nodefaultlibs: -L" PREFIX2 "/lib/profile \
34     %{!static: " RUNPATH " /usr/lib/profile} \
35    } \
36   } \
37  }"
38 
39 #define NATIVE_SYSTEM_HEADER_DIR	PREFIX2 "/include"
40 #define STD_EXEC_PATH			PREFIX1 "/libexec/gcc" GCCSHORTVER
41 #define STANDARD_EXEC_PREFIX		STD_EXEC_PATH "/"
42 #define STANDARD_LIBEXEC_PREFIX 	STANDARD_EXEC_PREFIX
43 #define STANDARD_BINDIR_PREFIX		STANDARD_EXEC_PREFIX
44 #define STANDARD_STARTFILE_PREFIX	STANDARD_EXEC_PREFIX
45 #define STANDARD_STARTFILE_PREFIX_1	""
46 #define STANDARD_STARTFILE_PREFIX_2	""
47 #define MD_EXEC_PREFIX			""
48 #define MD_STARTFILE_PREFIX		""
49 #define MD_STARTFILE_PREFIX_1		""
50 #define TOOLDIR_BASE_PREFIX		"./"
51 
52 #define STARTFILE_PREFIX_SPEC		PREFIX2 "/lib/gcc" GCCSHORTVER "/ " PREFIX2 "/lib/"
53 
54 #define GPLUSPLUS_INCLUDE_DIR		PREFIX2 "/include/c++/" GCCPOINTVER
55 #define GPLUSPLUS_INCLUDE_DIR_ADD_SYSROOT 0
56 #undef	GPLUSPLUS_TOOL_INCLUDE_DIR
57 #define	GPLUSPLUS_BACKWARD_INCLUDE_DIR	PREFIX2 "/include/c++/" GCCPOINTVER "/backward"
58 #undef	LOCAL_INCLUDE_DIR
59 #define	GCC_INCLUDE_DIR			PREFIX2 "/libdata/gcc" GCCSHORTVER
60 #undef	FIXED_INCLUDE_DIR
61 #undef	CROSS_INCLUDE_DIR
62 #undef	TOOL_INCLUDE_DIR
63