Unable to compil gcc2.96 on L2000/11.00/64 bits
Hi
I'm unable to compile gcc2.96 cross compiler with latest bits. (binutils is okay, it compile right)
I've configure it with:
../gcc/configure --target=hppa1.1-linux --prefix=$DEST --disable-nls --without-libc (with DEST=/opt/linux_hppa)
-> it looks okay:
checking host system type... hppa2.0w-hp-hpux11.00
.
.
.
creating ./config.status
creating Makefile
# echo $? 0
So I start to compil, and after a few momment:
make[2]: Entering directory /opt/linux_hppa/src/gcc_build/hppa1.1-linux/libiberty' make[2]: *** No targets specified and no makefile found. Stop. make[2]: Leaving directory /opt/linux_hppa/src/gcc_build/hppa1.1-linux/libiberty' make[1]: *** [../libiberty/libiberty.a] Error 2
make[1]: Leaving directory `/opt/linux_hppa/src/gcc_build/hppa1.1-linux/libstdc++'
make: *** [all-target-libstdc++] Error 2
-> no makefile for hppa1.1-linux/libiberty.
Do you have any idea to correct that ?
Thanks.
Signature · 3 lines
Vidal Bruno, (770-4271)
SSD-HA Team, HP-UX & LINUX Support
[email protected]Quoted 2 lines · Bruno Vidal
-> no makefile for hppa1.1-linux/libiberty.
Do you have any idea to correct that ?
libiberty/config.log should tell you what went wrong. It's likely that you need to install binutils (perhaps glibc too) and set up paths.
Alan Modra wrote:
...
Quoted 5 lines
From memory, the steps I followed were:
build & install binutils
build & install gcc using "make LANGUAGES=c; make LANGUAGES=c install" build & install glibc
rebuild gcc
Alan,
Could you update the relevant scripts in CVS build-tools repository? (They may not need any changes and Bruno just needs to use those)
Last year I pushed for "recipes" and those got stale pretty quickly because the folks on the bleeding edge weren't using them. Like Bruno, I had a hard time reproducing the success others claimed they had. (I still chuckle over puffin's phrase: "I don't believe you") It shouldn't be that hard to build stuff from the CVS repositories.
I've given up on the recipe's and moved to scripts instead. Matt Taggart has contributed the build-tools/palinux-autobuilder and recipe.linux/recipe.hpux are mine. The README file should explain what each does.
apologies for harping on this again,
grant
Grant Grundler
Unix Systems Enablement Lab
+1.408.447.7253