diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-01-01 15:15:33 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-01-11 12:59:46 +0000 |
commit | 6d07d38a48ccb71f55cfacffbe86b83f4c75a28c (patch) | |
tree | 11490b607e64a3bc98b22f08625d548e285a39af /m68k-unknown-amigaos/recipes/patches/gcc/gcc.configure.ac.p | |
parent | 786ec473315d6960a65c4efdb64f71774b902f5b (diff) | |
download | toolchains-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.configure.ac.p')
-rw-r--r-- | m68k-unknown-amigaos/recipes/patches/gcc/gcc.configure.ac.p | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/m68k-unknown-amigaos/recipes/patches/gcc/gcc.configure.ac.p b/m68k-unknown-amigaos/recipes/patches/gcc/gcc.configure.ac.p new file mode 100644 index 0000000..728be6d --- /dev/null +++ b/m68k-unknown-amigaos/recipes/patches/gcc/gcc.configure.ac.p @@ -0,0 +1,35 @@ +--- gcc-3.4.6/gcc/configure.ac 2013-05-19 20:09:27.000000000 +0200 ++++ gcc/configure.ac 2013-05-19 20:23:32.000000000 +0200 +@@ -101,10 +101,11 @@ + # Directories + # ----------- + ++### begin-GG-local: local prefix + # Specify the local prefix + local_prefix= + AC_ARG_WITH(local-prefix, +-[ --with-local-prefix=DIR specifies directory to put local include], ++[ --with-local-prefix=DIR specifies directory to put local include directory (not files).], + [case "${withval}" in + yes) AC_MSG_ERROR(bad value ${withval} given for local include directory prefix) ;; + no) ;; +@@ -113,8 +114,9 @@ + + # Default local prefix if it is empty + if test x$local_prefix = x; then +- local_prefix=/usr/local ++ local_prefix='${prefix}'/local + fi ++### end-GG-local + + # Don't set gcc_gxx_include_dir to gxx_include_dir since that's only + # passed in by the toplevel make and thus we'd get different behavior +@@ -962,6 +964,8 @@ + + gcc_AC_INITFINI_ARRAY + ++AC_FUNC_ALLOCA ++ + # mkdir takes a single argument on some systems. + gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG + |