1 /* Configuration for an i386 running GNU with ELF as the target machine. */
4 #define TARGET_VERSION fprintf (stderr, " (i386 GNU)");
6 #undef TARGET_OS_CPP_BUILTINS /* config.gcc includes i386/linux.h. */
7 #define TARGET_OS_CPP_BUILTINS() \
10 builtin_define_std ("MACH"); \
11 builtin_define_std ("unix"); \
12 builtin_define ("__GNU__"); \
13 builtin_define ("__gnu_hurd__"); \
14 builtin_assert ("system=gnu"); \
15 builtin_assert ("system=mach"); \
16 builtin_assert ("system=posix"); \
17 builtin_assert ("system=unix"); \
20 builtin_define ("__PIC__"); \
21 builtin_define ("__pic__"); \
27 #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}"
30 #define CC1_SPEC "%(cc1_cpu)"
33 #define LINK_SPEC "-m elf_i386 %{shared:-shared} \
36 %{rdynamic:-export-dynamic} \
37 %{!dynamic-linker:-dynamic-linker /lib/ld.so}} \
41 #define STARTFILE_SPEC \
44 %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
46 crti.o%s %{static:crtbeginT.o%s}\
47 %{!static:%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
49 /* FIXME: Is a Hurd-specific fallback mechanism necessary? */
50 #undef MD_FALLBACK_FRAME_STATE_FOR