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