Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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
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 config.sh at the end of the configure process. You will have to find out all the configurable values yourself, though.

    --shmem

    _($_=" "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://public.activestate.com/perl-current/ .
      ./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 perl.org

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (11)
As of 2014-12-25 20:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (163 votes), past polls