gnu.h revision 90075
1/* Configuration for an i386 running GNU with ELF as the target machine.  */
2
3#undef TARGET_VERSION
4#define TARGET_VERSION fprintf (stderr, " (i386 GNU)");
5
6#undef CPP_PREDEFINES
7#define CPP_PREDEFINES "-D__ELF__ -DMACH -Asystem=mach \
8  -Dunix -Asystem=unix -Asystem=posix -D__GNU__ -Asystem=gnu"
9
10#undef CPP_SPEC
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}"
14
15#undef CC1_SPEC
16#define CC1_SPEC "%(cc1_cpu)"
17
18#undef	LINK_SPEC
19#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
20  %{!shared: \
21    %{!static: \
22      %{rdynamic:-export-dynamic} \
23      %{!dynamic-linker:-dynamic-linker /lib/ld.so}} \
24    %{static:-static}}"
25
26#undef	STARTFILE_SPEC
27#define STARTFILE_SPEC \
28  "%{!shared: \
29     %{!static: \
30       %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
31     %{static:crt0.o%s}} \
32   crti.o%s %{static:crtbeginT.o%s}\
33   %{!static:%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
34
35/* FIXME: Is a Hurd-specific fallback mechanism necessary?  */
36#undef MD_FALLBACK_FRAME_STATE_FOR
37