>> So I copied AmigaOS 3.x specific files from a modified GCC 3.3.3 version >> into my local CVS version of the adtools gcc. > That was the wrong starting point. There is a 3.4.0 port that would have > been a better start. Yeah, I found it out the hard way. My last try was applying the 3.4.0 diffs from GG. That fixed the problem below: >> gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold -style-definition -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include ../../gcc/gcc/config/m68k/amigaos.c -o amigaos.o >> In file included from ../../gcc/gcc/rtl.h:27, >> from ../../gcc/gcc/config/m68k/amigaos.c:26: >> ../../gcc/gcc/input.h:52: error: syntax error before ???(??? token >> ../../gcc/gcc/input.h:59: error: syntax error before ???}??? token >> ../../gcc/gcc/input.h:59: warning: ISO C does not allow extra ???;??? outside of a function > I have no idea what might be the cause for these errors. I guess you > should uses better/correct patches. Silly me, it was just a missing include file... >> It would be nice if somebody could help me with this problem. > I have working patches for GCC4 but I didn't release them. IMHO there is > no (good) reason to use GCC4 for m68k since it appears to create worse > code, the compiler is larger+slower and its the first release of a new > series that has more bugs/problems than previous version. I can only > recommend to use 3.3.x or 3.4.x. It would be nice if you could share them with me. On the other side, who works on 3.3.x or 3.4.x? I think the only maintained compiler version is 2.9.x. So if the support is not added now, it is likely that the classic Amiga is stuck forever with very old compiler. -Josef ______________________________________________________________________________ Amiga Development tools ML - //www.freelists.org/list/adtools Homepage...................: http://www.sourceforge.net/projects/adtools Listserver help............: mailto:adtools-request@xxxxxxxxxxxxx?Subject=HELP