gnu.h revision 90075
11830SN/A/* Configuration for an i386 running GNU with ELF as the target machine. */ 22224Sctornqvi 31830SN/A#undef TARGET_VERSION 41830SN/A#define TARGET_VERSION fprintf (stderr, " (i386 GNU)"); 51830SN/A 61830SN/A#undef CPP_PREDEFINES 71830SN/A#define CPP_PREDEFINES "-D__ELF__ -DMACH -Asystem=mach \ 81830SN/A -Dunix -Asystem=unix -Asystem=posix -D__GNU__ -Asystem=gnu" 91830SN/A 101830SN/A#undef CPP_SPEC 111830SN/A#define CPP_SPEC "%(cpp_cpu) \ 121830SN/A %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} \ 131830SN/A %{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}" 141830SN/A 151830SN/A#undef CC1_SPEC 161830SN/A#define CC1_SPEC "%(cc1_cpu)" 171830SN/A 181830SN/A#undef LINK_SPEC 191830SN/A#define LINK_SPEC "-m elf_i386 %{shared:-shared} \ 201830SN/A %{!shared: \ 211830SN/A %{!static: \ 221830SN/A %{rdynamic:-export-dynamic} \ 231830SN/A %{!dynamic-linker:-dynamic-linker /lib/ld.so}} \ 241830SN/A %{static:-static}}" 251830SN/A 261830SN/A#undef STARTFILE_SPEC 271830SN/A#define STARTFILE_SPEC \ 281830SN/A "%{!shared: \ 291830SN/A %{!static: \ 301830SN/A %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \ 311830SN/A %{static:crt0.o%s}} \ 321830SN/A crti.o%s %{static:crtbeginT.o%s}\ 331830SN/A %{!static:%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}" 341830SN/A 351830SN/A/* FIXME: Is a Hurd-specific fallback mechanism necessary? */ 361830SN/A#undef MD_FALLBACK_FRAME_STATE_FOR 371830SN/A