Hello Henning, Henning Nielsen Lund schrieb: [...]
http://adtools.amigaos.dk/binutils-2.17-hnl_dk.patchI know, it is a little bit late. However, when I try to compile binutils 2.17 for 'ppc-amigaos' with your patches applied I run into the following error message: -- cut here -- make[5]: Entering directory `/home/damato/projekte/Amiga/adtools/gcc-build/binutils/bfd' /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../gcc/4.0.x/binutils/bfd -I. -I. -I../../../gcc/4.0.x/binutils/bfd -I../../../gcc/4.0.x/binutils/bfd/../include -I../../../gcc/4.0.x/binutils/bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c -o elf32-amigaos.lo ../../../gcc/4.0.x/binutils/bfd/elf32-amigaos.c gcc -DHAVE_CONFIG_H -I. -I../../../gcc/4.0.x/binutils/bfd -I. -I. -I../../../gcc/4.0.x/binutils/bfd -I../../../gcc/4.0.x/binutils/bfd/../include -I../../../gcc/4.0.x/binutils/bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c ../../../gcc/4.0.x/binutils/bfd/elf32-amigaos.c -o elf32-amigaos.o ../../../gcc/4.0.x/binutils/bfd/elf32-amigaos.c:7550:26: error: elf32-target.h: No such file or directory make[5]: *** [elf32-amigaos.lo] Error 1 make[5]: Leaving directory `/home/damato/projekte/Amiga/adtools/gcc-build/binutils/bfd' -- cut here -- do you have any idea how to solve that and/or a propose?IIRC was there something about needing to run the configure script with the "--enable-maintainer-mode" option. IIRC are there some headerfiles that do only get build/rebuild if you run it in maintainermode.
Ok, I tried it again with "--enable-maintainer-mode" and now it seems to at least build the ppc-amigaos target perfectly. Haven't run any deeper tests on all the 2.17 utils yet - however, do you have any idea why this option is required and how we can get rid of it? IMHO it shouldn't be required for a normal build. So what are we doing wrong here?
In addition, how about support for the m68k-amigaos target for 2.17 as well? I mean, your patch seems to at least assume m68k-amigaos exists as a target - however when trying to build it it bails out with numerous error messages.
No matter what, I will try to import your patch into our repository as soon as we have cleared the "--enable-maintainer-mode" issue and verified that the created 2.17 binutils work as expected with our 4.0.4 GCC suite.
Perhaps Gunter Nikl can clear up the 2.17 binutils issues with the m68k-amigaos target?!? Because we should really try to get it also up&running for that target at least.
cheers, jens -- Jens Langner Ph: +49-172-4452254 Rißweg 27b 01324 Dresden Jens.Langner@xxxxxxxxxxxxxx Germany http://www.jens-langner.de/ ______________________________________________________________________________ Amiga Development tools ML - //www.freelists.org/list/adtools Homepage...................: http://www.sourceforge.net/projects/adtools Listserver help............: mailto:adtools-request@xxxxxxxxxxxxx?Subject=HELP