174462Salfred/* Configuration for an i386 running GNU with ELF as the target machine. */ 274462Salfred 374462Salfred#undef TARGET_VERSION 474462Salfred#define TARGET_VERSION fprintf (stderr, " (i386 GNU)"); 574462Salfred 674462Salfred#undef TARGET_OS_CPP_BUILTINS /* config.gcc includes i386/linux.h. */ 774462Salfred#define TARGET_OS_CPP_BUILTINS() \ 874462Salfred do \ 974462Salfred { \ 1074462Salfred HURD_TARGET_OS_CPP_BUILTINS(); \ 1174462Salfred } \ 1274462Salfred while (0) 1374462Salfred 1474462Salfred#undef CPP_SPEC 1574462Salfred#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}" 1674462Salfred 1774462Salfred#undef CC1_SPEC 1874462Salfred#define CC1_SPEC "%(cc1_cpu)" 1974462Salfred 2074462Salfred#undef LINK_SPEC 2174462Salfred#define LINK_SPEC "-m elf_i386 %{shared:-shared} \ 2274462Salfred %{!shared: \ 2374462Salfred %{!static: \ 2474462Salfred %{rdynamic:-export-dynamic} \ 2574462Salfred %{!dynamic-linker:-dynamic-linker /lib/ld.so}} \ 2674462Salfred %{static:-static}}" 2774462Salfred 2874462Salfred#undef STARTFILE_SPEC 2974462Salfred#define STARTFILE_SPEC \ 3074462Salfred "%{!shared: \ 3174462Salfred %{!static: \ 3274462Salfred %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \ 3374462Salfred %{static:crt0.o%s}} \ 3474462Salfred crti.o%s %{static:crtbeginT.o%s}\ 3574462Salfred %{!static:%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}" 3674462Salfred 3774462Salfred/* FIXME: Is a Hurd-specific fallback mechanism necessary? */ 3874462Salfred#undef MD_UNWIND_SUPPORT 3974462Salfred