* c-cppbuiltin.c (c_cpp_builtins): Define __pic__ and __PIC__ when
[official-gcc.git] / gcc / config / i386 / gnu.h
blobd40ff7d664a8d7d904d8605c255a8e945bf6537a
1 /* Configuration for an i386 running GNU with ELF as the target machine. */
3 #undef TARGET_VERSION
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() \
8 do \
9 { \
10 HURD_TARGET_OS_CPP_BUILTINS(); \
11 } \
12 while (0)
14 #undef CPP_SPEC
15 #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}"
17 #undef CC1_SPEC
18 #define CC1_SPEC "%(cc1_cpu)"
20 #undef LINK_SPEC
21 #define LINK_SPEC "-m elf_i386 %{shared:-shared} \
22 %{!shared: \
23 %{!static: \
24 %{rdynamic:-export-dynamic} \
25 %{!dynamic-linker:-dynamic-linker /lib/ld.so}} \
26 %{static:-static}}"
28 #undef STARTFILE_SPEC
29 #define STARTFILE_SPEC \
30 "%{!shared: \
31 %{!static: \
32 %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
33 %{static:crt0.o%s}} \
34 crti.o%s %{static:crtbeginT.o%s}\
35 %{!static:%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
37 /* FIXME: Is a Hurd-specific fallback mechanism necessary? */
38 #undef MD_UNWIND_SUPPORT