Amiga-Development

Please login or register.

Login with username, password and session length
Advanced search  

News:

Created for developers of all Amiga camps

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - salass00

Pages: [1]
1
I'm trying to build a m68k-amigaos targetted binutils from the version 2.14 sources in the adtools project.

These are the commands I use:
svn checkout svn://svn.code.sf.net/p/adtools/code/branches/binutils/2.14 binutils-2.14
mkdir binutils-build
cd binutils-build
../binutils-2.14/configure --target=m68k-amigaos --prefix=/usr/local/amiga
make

and it always fails after a while with:
Quote
make[3]: Entering directory `/home/salass00/Development/Projects/m68k-amigaos/binutils-build/ld'
/bin/sh ../../binutils-2.14/ld/ylwrap `test -f '../../binutils-2.14/ld/ldgram.y' || echo '../../binutils-2.14/ld/'`../../binutils-2.14/ld/ldgram.y y.tab.c ldgram.c y.tab.h ldgram.h y.output ldgram.output -- bison -y -d
/bin/sh: 0: Can't open ../../binutils-2.14/ld/ylwrap
make[3]: *** [ldgram.c] Error 127
make[3]: Leaving directory `/home/salass00/Development/Projects/m68k-amigaos/binutils-build/ld'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/salass00/Development/Projects/m68k-amigaos/binutils-build/ld'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/salass00/Development/Projects/m68k-amigaos/binutils-build/ld'
make: *** [all-ld] Error 2

Anyone know what this is about?

If I copy the ylwrap file from ../binutils-2.14 to where it expects to find it, it continues for a bit and then fails again with:
Quote
make[3]: Entering directory `/home/salass00/Development/Projects/m68k-amigaos/binutils-build/ld'
/bin/sh ../../binutils-2.14/ld/ylwrap `test -f '../../binutils-2.14/ld/ldgram.y' || echo '../../binutils-2.14/ld/'`../../binutils-2.14/ld/ldgram.y y.tab.c ldgram.c y.tab.h ldgram.h y.output ldgram.output -- bison -y -d
../../binutils-2.14/ld/ylwrap: 86: ../../binutils-2.14/ld/ylwrap: /home/salass00/Development/Projects/m68k-amigaos/binutils-build/ld/../../binutils-2.14/ld/ldgram.y: Permission denied
make[3]: *** [ldgram.c] Error 1
make[3]: Leaving directory `/home/salass00/Development/Projects/m68k-amigaos/binutils-build/ld'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/salass00/Development/Projects/m68k-amigaos/binutils-build/ld'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/salass00/Development/Projects/m68k-amigaos/binutils-build/ld'
make: *** [all-ld] Error 2

The permissions for the file in question are:
Quote
ls -l ../binutils-2.14/ld/ldgram.y
-rw-rw-r-- 1 salass00 salass00 24314 maali 28 17:55 ../binutils-2.14/ld/ldgram.y

Pages: [1]