2
0
mirror of https://frontier.innolan.net/github/amigaos-cross-toolchain6.git synced 2024-10-19 10:29:55 +00:00

some changes for gcc-3.4.6

This commit is contained in:
bebbo
2017-10-18 22:01:04 +02:00
parent 773af22576
commit 0bdd6b7840
4 changed files with 14 additions and 3 deletions

View File

@ -147,7 +147,7 @@ Boston, MA 02111-1307, USA. */
"%{!resident:%{fbaserel:libnix/nbcrt0.o%s}%{!fbaserel:libnix/ncrt0.o%s}}}"
#define ENDFILE_SPEC \
"%{noixemul:-lstubs}"
"%{noixemul:-lstubs -lnix13}"
/* Automatically search libamiga.a for AmigaOS specific functions. Note
that we first search the standard C library to resolve as much as

View File

@ -0,0 +1,11 @@
--- gcc-3.4.6/gcc/cp/Make-lang.in 1970-01-01 01:00:01.000000000 +0100
+++ gcc-3.4.6-patched/gcc/cp/Make-lang.in 1970-01-01 01:00:01.000000000 +0100
@@ -94,6 +94,8 @@
$(srcdir)/cp/cfns.h: $(srcdir)/cp/cfns.gperf
gperf -o -C -E -k '1-6,$$' -j1 -D -N 'libc_name_p' -L ANSI-C \
$(srcdir)/cp/cfns.gperf > $(srcdir)/cp/cfns.h
+ sed -i -- 's/__attribute__ ((__gnu_inline__))//g' $(srcdir)/cp/cfns.h
+ sed -i -- 's/__inline//g' $(srcdir)/cp/cfns.h
gtype-cp.h gt-cp-call.h gt-cp-decl.h gt-cp-decl2.h : s-gtype; @true
gt-cp-pt.h gt-cp-repo.h gt-cp-parser.h gt-cp-method.h : s-gtype; @true

View File

@ -559,7 +559,7 @@ def _build(pull):
configure('{libnix}',
'--prefix={prefix}/{target}/libnix',
'--prefix={prefix}/{target}/libnix' if fill_in('{gcc}') == 'gcc-6' else '--prefix={prefix}/{target}',
'--host=i686-linux-gnu',
'--target=m68k-amigaos',
from_dir='{submodules}/{libnix}')