2kool4skool has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

Not sure if this is the best place to ask a question about building perl. If not please can you point me in the right direction.

I am trying to cross compile perl for sh4 linux. I have downloaded the source for version 5.10.0, and I am trying to cross-compile in the Cross directory on a linux host. I have followed the instructions in the README, but I get failures when i run 'make patch'. At first I foolishly ignored these, so when I tried 'make perl' I got the error that the miniperl binary could not be executed. It seems 'make perl' compiled miniperl using the sh4-linux compiler, and not the native compiler. I'm assuming this is because some of my patches failed.

Does anyone have the patch files that work with this version of perl? Alternatively, does anyone know the best way to cross-compile perl for sh4 linux?

Kind Regards,

2kool4skool