[ELDK] ELDK-5.4 Compiler Installation Problem for ZYNQ Board (ERROR-127)
Wolfgang Denk
wd at denx.de
Tue Jul 19 14:46:05 CEST 2016
Dear Rama,
In message <CA+Wf0EFoGuTeczKD9pWNnVXvR3UboZ6QZvBf_sdzT4ziOqcfSQ at mail.gmail.com> you wrote:
>
> I am using ZYNQ (ARM Cortex-A9) ZC706 Board. Actually i am installing
> ELDK-5.4 based on Reference ELDK Doc But some time Error 127 coming. I
> think Proper Export path not defined.
Yes. This results from the fact that you ignore the instructions how
to work with ELDK v5.x
> export
> PATH=/opt/eldk-5.4/armv7a-hf/sysroots/i686-eldk-linux/usr/bin:/opt/eldk-5.4/armv7a-hf/sysroots/i686-eldk-linux/usr/bin/arm-xilinx-linux-gnueabi-:$PATH
> export ARCH=arm
> export CROSS_COMPILE=arm-xilinx-linux-gnueabi-
You should not do this.
> source /opt/eldk-5.4/armv7a-hf/environment-setup-*
This is OK, and this is all you need to do.
> echo
> 'PATH=$PATH:/opt/eldk5.4/armv7a-hf/sysroots/i686-eldk-linux/usr/bin:/opt/eldk-5.4/armv7a-hf/sysroots/i686-eldk-linux/bin/
> export CROSS_COMPILE="arm-xilinx-linux-gnueabi-"
> export ARCH=arm' > setup_eldk & chmod u+x setup_eldk
You MUST NOT do that, as you overwrite the settings made by the
environment script.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Q: Why do PCs have a reset button on the front?
A: Because they are expected to run Microsoft operating systems.
More information about the eldk
mailing list