This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Cross-compiler installation failed


Hi,

I've been trying to install a cross-compiler for few days but haven't had the luck. I've overcome some problems such as "sys-include doesn't not exist" and "gperf -F invalid option". Now I've come to another problem:

I've install binntils-2.9.1 and failed installing gcc-2.95.2. The following is the directory structure

/usr/local-kirin/gnudev/gnu/m68k-coff/build-binutils
                                     /build-gcc
                                     /build-newlib
                                     /build-gdb
                                     /binutils-2.9.1
                                     /gcc-2.95.2
                                     /newlib-1.8.2
                                     /bar

After I built binutils I did the following:

/usr/local-kirin/gnudev/gnu/m68k-coff/buid-gcc% ../gcc-2.95.2/configure --target=m68k-unknown-coff --prefix=/usr/local-kirin/gnudev/gnu/m68k-coff/bar --with-headers=/usr/local-kirin/gnudev/gnu/m68k-coff/bar/m68k-unknown-coff/sys-include -v

/usr/local-kirin/gnudev/gnu/m68k-coff/buid-gcc% /usr/local/Gnu/bin/make

.
.
.
/bin/sh: m68k-coff-ar: execute permission denied
_nesf2
/bin/sh: m68k-coff-ar: execute permission denied
_gtsf2
/bin/sh: m68k-coff-ar: execute permission denied
_gesf2
/bin/sh: m68k-coff-ar: execute permission denied
_ltsf2
/bin/sh: m68k-coff-ar: execute permission denied
_lesf2
/bin/sh: m68k-coff-ar: execute permission denied
rm -f libgcc1.S
mv tmplibgcc1.a libgcc1-asm.a
mv: cannot access tmplibgcc1.a
make[1]: *** [libgcc1-asm.a] Error 2
make[1]: Leaving directory `/net/local-kirin/gnudev/gnu/m68k-coff/build-gcc/gcc'
make: *** [all-gcc] Error 2
[ratbert]/usr/local-kirin/gnudev/gnu/m68k-coff/build-gcc% cd ..


Could someone please help me out? Thanks a lot!!

Desmond Cheung
dycheung@cs.sfu.ca

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]