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 ("__ELF__"); \
13 builtin_define ("__GNU__"); \
14 builtin_define ("__gnu_hurd__"); \
15 builtin_assert ("system=gnu"); \
16 builtin_assert ("system=mach"); \
17 builtin_assert ("system=posix"); \
18 builtin_assert ("system=unix"); \
21 builtin_define ("__PIC__"); \
22 builtin_define ("__pic__"); \
28 #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}"
31 #define CC1_SPEC "%(cc1_cpu)"
34 #define LINK_SPEC "-m elf_i386 %{shared:-shared} \
37 %{rdynamic:-export-dynamic} \
38 %{!dynamic-linker:-dynamic-linker /lib/ld.so}} \
42 #define STARTFILE_SPEC \
45 %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
47 crti.o%s %{static:crtbeginT.o%s}\
48 %{!static:%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
50 /* FIXME: Is a Hurd-specific fallback mechanism necessary? */
51 #undef MD_FALLBACK_FRAME_STATE_FOR