gnu.h revision 169690
1227825Stheraven/* Configuration for an i386 running GNU with ELF as the target machine. */ 2227825Stheraven 3227825Stheraven#undef TARGET_VERSION 4227825Stheraven#define TARGET_VERSION fprintf (stderr, " (i386 GNU)"); 5227825Stheraven 6227825Stheraven#undef TARGET_OS_CPP_BUILTINS /* config.gcc includes i386/linux.h. */ 7227825Stheraven#define TARGET_OS_CPP_BUILTINS() \ 8227825Stheraven do \ 9227825Stheraven { \ 10227825Stheraven HURD_TARGET_OS_CPP_BUILTINS(); \ 11227825Stheraven } \ 12227825Stheraven while (0) 13227825Stheraven 14227825Stheraven#undef CPP_SPEC 15227825Stheraven#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}" 16227825Stheraven 17227825Stheraven#undef CC1_SPEC 18227825Stheraven#define CC1_SPEC "%(cc1_cpu)" 19227825Stheraven 20227825Stheraven#undef LINK_SPEC 21227825Stheraven#define LINK_SPEC "-m elf_i386 %{shared:-shared} \ 22227825Stheraven %{!shared: \ 23227825Stheraven %{!static: \ 24227825Stheraven %{rdynamic:-export-dynamic} \ 25227825Stheraven %{!dynamic-linker:-dynamic-linker /lib/ld.so}} \ 26227825Stheraven %{static:-static}}" 27227825Stheraven 28227825Stheraven#undef STARTFILE_SPEC 29227825Stheraven#define STARTFILE_SPEC \ 30227825Stheraven "%{!shared: \ 31227825Stheraven %{!static: \ 32227825Stheraven %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \ 33227825Stheraven %{static:crt0.o%s}} \ 34227825Stheraven crti.o%s %{static:crtbeginT.o%s}\ 35227825Stheraven %{!static:%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}" 36227825Stheraven 37227825Stheraven/* FIXME: Is a Hurd-specific fallback mechanism necessary? */ 38227825Stheraven#undef MD_UNWIND_SUPPORT 39227825Stheraven