Perl

Wolfgang Denk wd at denx.de
Fri Nov 24 10:00:56 EST 2006


In message <200611230826.36163.matthias.fuchs at esd-electronics.com> you wrote:
> 
> there's a quick'n'dirty way to get a perl running on your CPU.
> Take the Fedora Core 4 ppc binary rpm (perl-5.8.6-15.ppc.rpm) and install it 
> from an ELDK 4 root filesystem:

This will only work if you are running on a system where your CPU has
a full-blown CPU,  32  bytes  cache  line  size,  and  your  run-time
environment (all system libraries) are configured to use the FPU.

It will fail on  FPU-less  or  FPU-restricted  systems  like  MPC8xx,
PPC4xx, or MPC85xx.

> Note: This test has been done on a PPC405. But do not forget to use a kernel 
> with math emulation for this to work. 

I guess you didn't do much testing. You should try some  mathematics,
and  you  might  be surprised what happens when your Perl binary uses
the (emulated) FPU, while the system libraries use soft-float.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It's all Klatchian to me.
        - Terry Pratchett & Stephen Briggs, _The Discworld Companion_



More information about the Linuxppc-embedded mailing list