[ELDK] installing 5.6
K Richard Pixley
rpixley at graphitesystems.com
Mon Jan 26 23:53:18 CET 2015
I have a question about how installation is supposed to work.
I've installed for powerpc-e500v2, using:
sudo ./install.sh -d /opt/eldk-5.6 -a i686 -s toolchain -r "lsb-sdk
minimal-mtdutils" powerpc-e500v2
(I've also tried toolchain-qte, they seem to behave the same in this
regard.)
And I'm trying to build a kernel using:
export PATH :=
/opt/eldk-5.6/powerpc-e500v2/sysroots/i686-eldk-linux/usr/bin:/opt/eldk-5.6/powerpc-e500v2/sysroots/i686-eldk-linux/usr/bin/powerpc-linux:$(PATH)
export CROSS_COMPILE := powerpc-linux-
export ARCH := powerpc
But I'm running into:
LINK vmlinux
LD vmlinux.o
powerpc-linux-ld: cannot find libgcc.a: No such file or directory
powerpc-linux-ld: cannot find libgcc.a: No such file or directory
make[2]: *** [vmlinux] Error 1
make[1]: *** [arch/powerpc/boot/uImage] Error 1
I find...
rpixley at victory> sudo find /opt/eldk-5.6 -name libgcc.a
/opt/eldk-5.6/powerpc-e500v2/sysroots/ppce500v2-linux-gnuspe/usr/lib/powerpc-linux-gnuspe/4.8.2/libgcc.a
/opt/eldk-5.6/powerpc-e500v2/rootfs-lsb-sdk/usr/lib/powerpc-linux-gnuspe/4.8.2/libgcc.a
How is gcc, (or ld), supposed to know where to find libgcc.a? And why
isn't it?
--rich
More information about the eldk
mailing list