1ad5df991e44bead2c430867a39f6d31c838fa6c
[fw/sdcc] / support / cpp / i386 / gnu.h
1 /* Configuration for an i386 running GNU with ELF as the target machine.  */
2
3 /* This does it mostly for us.  */
4 #include <i386/linux.h>
5
6 #undef CPP_PREDEFINES
7 #define CPP_PREDEFINES GNU_CPP_PREDEFINES("i386")
8
9 #undef  LINK_SPEC
10 #define LINK_SPEC "-m elf_i386 %{shared:-shared} \
11   %{!shared: \
12     %{!ibcs: \
13       %{!static: \
14         %{rdynamic:-export-dynamic} \
15         %{!dynamic-linker:-dynamic-linker /lib/ld.so} \
16         %{!rpath:-rpath /lib/}} %{static:-static}}}"
17
18
19 /* Get machine-independent configuration parameters for the GNU system.  */
20 #include <gnu.h>