perl在ARM上移植

来源:互联网 发布:云端软件平台 软件库 编辑:程序博客网 时间:2024/05/16 01:26

1.选用的是perl-5.22.1版本


2.先编译x86版本的程序,把根目录生成的generate_uudmap可执行文件保存下来


3.进入Cross文件夹下,把config文件修改如下:

################################################################################ This is the configuration file used to specify the target platform and# required level of debug or optimisation.################################################################################## Target ArchARCH = arm#ARCH = i386-pc#ARCH = sh4#ARCH = mips#ARCH = mipsel#ARCH = ppc## Specific arm#CONFIG_TARGET_ARM_SA11X0 = 1#CONFIG_TARGET_ARM_XSCALE = 1### Target OSOS = linux#OS = solaris2.8

4.make patch

   make perl

make过程中,编译test时,会报错,不用管它


5.make完成后,会在源码根目录生成miniperl可执行文件

0 0
原创粉丝点击