1 /* Configuration for an i386 running GNU with ELF as the target machine. */
4 #define TARGET_VERSION fprintf (stderr, " (i386 GNU)");
7 #define CPP_PREDEFINES "-D__ELF__ -DMACH -Asystem=mach \
8 -Dunix -Asystem=unix -Asystem=posix -D__GNU__ -Asystem=gnu"
11 #define CPP_SPEC "%(cpp_cpu) \
12 %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} \
13 %{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}"
16 #define CC1_SPEC "%(cc1_cpu)"
19 #define LINK_SPEC "-m elf_i386 %{shared:-shared} \
22 %{rdynamic:-export-dynamic} \
23 %{!dynamic-linker:-dynamic-linker /lib/ld.so}} \
27 #define STARTFILE_SPEC \
30 %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
32 crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
34 /* FIXME: Is a Hurd-specific fallback mechanism necessary? */
35 #undef MD_FALLBACK_FRAME_STATE_FOR