summaryrefslogtreecommitdiff
path: root/m68k-unknown-amigaos/recipes/patches/gcc/gcc.config.gcc.p
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2015-01-01 15:15:33 +0000
committerVincent Sanders <vince@kyllikki.org>2015-01-11 12:59:46 +0000
commit6d07d38a48ccb71f55cfacffbe86b83f4c75a28c (patch)
tree11490b607e64a3bc98b22f08625d548e285a39af /m68k-unknown-amigaos/recipes/patches/gcc/gcc.config.gcc.p
parent786ec473315d6960a65c4efdb64f71774b902f5b (diff)
downloadtoolchains-6d07d38a48ccb71f55cfacffbe86b83f4c75a28c.tar.gz
toolchains-6d07d38a48ccb71f55cfacffbe86b83f4c75a28c.tar.bz2
Use gcc 3.4.6 for m68k-amigaos-toolchain
This changes to using the 3.4 series gcc with patches from github:cahirwpz/m68k-amigaos-toolchain and some other modifications to make it compile. clib2 is currently failing to build with this compiler with the following errors: Compiling unistd_getopt.c [large_data_020:c] /tmp/ccrQcqYy.s: Assembler messages: /tmp/ccrQcqYy.s:36: Error: parse error -- statement `cmpl (sp.0),d0' ignored /tmp/ccrQcqYy.s:58: Error: parse error -- statement `movel (sp.0),a0' ignored /tmp/ccrQcqYy.s:86: Error: parse error -- statement `addql #1,(sp.0)' ignored /tmp/ccrQcqYy.s:89: Error: parse error -- statement `movel (sp.0),a0' ignored /tmp/ccrQcqYy.s:94: Error: parse error -- statement `movel d0,(sp.0)' ignored /tmp/ccrQcqYy.s:104: Error: parse error -- statement `addl (sp.0),a0' ignored /tmp/ccrQcqYy.s:129: Error: parse error -- statement `movel d0,(sp.0)' ignored /tmp/ccrQcqYy.s:139: Error: parse error -- statement `movel d0,(sp.0)' ignored /tmp/ccrQcqYy.s:143: Error: parse error -- statement `addql #1,(sp.0)' ignored /tmp/ccrQcqYy.s:146: Error: parse error -- statement `movel (sp.0),a0' ignored /tmp/ccrQcqYy.s:150: Error: parse error -- statement `movel d0,(sp.0)' ignored make[2]: *** [large_data_020/libc_objs/unistd_getopt.o] Error 1
Diffstat (limited to 'm68k-unknown-amigaos/recipes/patches/gcc/gcc.config.gcc.p')
-rw-r--r--m68k-unknown-amigaos/recipes/patches/gcc/gcc.config.gcc.p16
1 files changed, 8 insertions, 8 deletions
diff --git a/m68k-unknown-amigaos/recipes/patches/gcc/gcc.config.gcc.p b/m68k-unknown-amigaos/recipes/patches/gcc/gcc.config.gcc.p
index 0f0438c..76465d5 100644
--- a/m68k-unknown-amigaos/recipes/patches/gcc/gcc.config.gcc.p
+++ b/m68k-unknown-amigaos/recipes/patches/gcc/gcc.config.gcc.p
@@ -1,17 +1,17 @@
---- gcc/config.gcc 2010-12-16 13:06:35.000000000 +0000
-+++ gcc/config.gcc 2010-12-16 13:09:52.000000000 +0000
-@@ -1671,6 +1671,14 @@
- tm_defines="${tm_defines} MOTOROLA=1"
+--- gcc-3.4.6/gcc/config.gcc 2013-05-19 20:09:27.000000000 +0200
++++ gcc/config.gcc 2013-05-19 20:23:32.000000000 +0200
+@@ -1466,6 +1466,14 @@
+ tm_defines="MOTOROLA USE_GAS"
extra_parts="crtbegin.o crtend.o"
;;
+m68k-*-amigaos*)
-+ tmake_file="m68k/t-amigaos"
++ tmake_file=m68k/t-amigaos
+ tm_file="${tm_file} m68k/amigaos.h"
+ tm_p_file="${tm_p_file} m68k/amigaos-protos.h"
-+ tm_defines="${tm_defines} TARGET_AMIGAOS TARGET_DEFAULT=0"
-+ extra_objs="amigaos.o"
++ tm_defines="TARGET_AMIGAOS TARGET_DEFAULT=0" # 68000, no 68881, no bitfield ops
++ extra_objs=amigaos.o
+ gnu_ld=yes
+ ;;
mcore-*-elf)
- tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h ${tm_file} mcore/mcore-elf.h"
+ tm_file="dbxelf.h elfos.h svr4.h ${tm_file} mcore/mcore-elf.h"
tmake_file=mcore/t-mcore