diff options
Diffstat (limited to 'gcc/config/i386/gnu.h')
-rwxr-xr-x | gcc/config/i386/gnu.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gcc/config/i386/gnu.h b/gcc/config/i386/gnu.h new file mode 100755 index 0000000..971a5f8 --- /dev/null +++ b/gcc/config/i386/gnu.h @@ -0,0 +1,23 @@ +/* Configuration for an i386 running GNU with ELF as the target machine. */ + +/* This does it mostly for us. */ +#include <i386/linux.h> + +#undef CPP_PREDEFINES +#define CPP_PREDEFINES "-Di386 -Acpu(i386) -Amachine(i386) \ +-Dunix -Asystem(unix) -DMACH -Asystem(mach) -D__GNU__ -Asystem(gnu)" + +#undef TARGET_VERSION +#define TARGET_VERSION fprintf (stderr, " (i386 GNU)"); + +#undef LINK_SPEC +#define LINK_SPEC "-m elf_i386 %{shared:-shared} \ + %{!shared: \ + %{!static: \ + %{rdynamic:-export-dynamic} \ + %{!dynamic-linker:-dynamic-linker /lib/ld.so}} \ + %{static:-static}}" + + +/* Get machine-independent configuration parameters for the GNU system. */ +#include <gnu.h> |