Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Help Needed Cross Compile Perl ARM/Linux

by ashuperl (Initiate)
on Dec 18, 2006 at 05:23 UTC ( #590383=perlquestion: print w/ replies, xml ) Need Help??
ashuperl has asked for the wisdom of the Perl Monks concerning the following question:

Hi All, I am new to Perl and porting work. From whatever I read over web and Configure file script, there is a need of SSH connectivity between the target device and the host platform. Is there a way if there is no SSH I can try using the cross compiler. I am using "gcc version 4.1.0 (Sourcery G++ 4.1-6) arm-none-linux-gnueabi-gcc" cross compiler. Host platform is Linux on intel and target is Linux on ARM926EJS. If you have any document that could be a great help. Thanks & Regards, ashu

Comment on Help Needed Cross Compile Perl ARM/Linux
Replies are listed 'Best First'.
Re: Help Needed Cross Compile Perl ARM/Linux
by shmem (Canon) on Dec 18, 2006 at 09:16 UTC
    Configure checks header files, and writes, compiles and runs various C programs on the fly to configure perl, so cross-compiled code must run on the target platform. The only other way I know would be configuring on the target host, and cross-compiling on the build host. For Configure to run on the target host you need a compiler there.

    If you can't run Configure on the target host, run it on the build host and edit at the end of the configure process. You will have to find out all the configurable values yourself, though.


    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
Re: Help Needed Cross Compile Perl ARM/Linux
by Steve_p (Priest) on Dec 18, 2006 at 20:29 UTC

    Have you read the README in the Cross subdirectory in the Perl source distribution?

    Test your modules with bleadperl!

      rsync -avz rsync:// .
      ./Configure -des -Dusedevel -Dprefix=/path/to/test/perl
      make test
      make install

    Now, please test you modules! If you have test failures that don't happen with Perl 5.8.8, send a simplified test case to

    perlbug at

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://590383]
Approved by ikegami
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (15)
As of 2016-04-29 16:59 GMT
Find Nodes?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW

    Results (441 votes). Check out past polls.