Dear Richard,

In message <[email protected]> you wrote:
>
> But I have little hope.  I'm duplicating a process that I already have 
> working with powerpc-4xx.  But powerpc-e500v2 seems to work 
> differently.  For example, in powerpc-4xx, in the env file, 
> /opt/eldk-5.6/powerpc-4xx/environment-setup-ppc44e-linux I find:
> 
>     export SDKTARGETSYSROOT=/opt/eldk-5.6/powerpc-4xx/sysroots/ppc440e-linux
> 
> whereas with powerpc-e500v2, in the env file, 
> /opt/eldk-5.6/powerpc-e500v2/environment-setup-ppce500v2-linux I find:
> 
>     export SDKTARGETSYSROOT=##SDKTARGETSYSROOT##
> 
> That looks to me like a string that is intended for replacement that has 
> failed to be replaced.  In the environment file, it probably doesn't 
> mean much.  But if there's a similar unreplaced trigger in the compiler 
> or linker specs, that could be a blocker.
> 
> So... I /expect/ that sourcing the env file will cause breakage, 
> although it might be a different sort of breakage since the LD 
> definition depends on the value of SDKTARGETSYSROOT.

I'm afraid you found a bug in ELDK v5.6; I owe you a beer for
reporting it :-)

Please apply the attached patchand verify that it helps; AFAICT this
is the only change needed.

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: [email protected]
Computers are not intelligent. They only think they are.

--- environment-setup-ppce500v2-linux.ORIG	2014-10-22 19:48:57.149923200 +0200
+++ environment-setup-ppce500v2-linux	2015-01-28 16:12:31.432424980 +0100
@@ -1,4 +1,4 @@
-export SDKTARGETSYSROOT=##SDKTARGETSYSROOT##
+export SDKTARGETSYSROOT=/opt/eldk-5.6/powerpc-e500v2/sysroots/ppce500v2-linux-gnuspe
 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 PKG_CONFIG_SYSROOT_DIR=$SDKTARGETSYSROOT
 export PKG_CONFIG_PATH=$SDKTARGETSYSROOT/usr/lib/pkgconfig
_______________________________________________
eldk mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/eldk

Reply via email to