Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Perl for ARMv7le

by monk88 (Novice)
on Dec 19, 2016 at 17:36 UTC ( [id://1178080]=perlquestion: print w/replies, xml ) Need Help??

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

I tried cross compiling perl for qnx 6.6.0 armv7le from the source code but unable to succeed. I went through the below process with the required c compiler for the armv7le on my ubuntu but ended up not succeeding. . Also, other problem is i dont have ssh nor the build envt on my armv7le machine.

https://github.com/arsv/perl-cross

http://stackoverflow.com/questions/41108190/cross-compile-perl-for-qnx-6-6-0-armle-v7

So my question : 1. does perl work for armv7le ? 2 is there any prebuilt version of perl for armv7le ?

Replies are listed 'Best First'.
Re: Perl for ARMv7le
by Corion (Patriarch) on Dec 19, 2016 at 17:57 UTC

    How did cross-compiling fail for you?

    It's hard for us to give you specific advice if you don't tell us where and how things failed.

    Also note that if you want a prebuilt binary, it will have to be for your CPU and OS, so in your case qnx 6.6.0 armv7le. Consider asking your OS vendor about their package manager and where/how they provide packages.

    As an alternative, if you have the native C compiler and build packages, it's quite easy to do a native build of Perl on your target platform.

        Have you tried without the -j4 switch? If you get different error messages at different runs, that sounds like a problem when running multiple build targets at the same time.

        Also, it seems that some part of the build process expects to find a miniperl executable locally available. You could try to either build it or link the perl executable to it. But I wonder why it should fail for you when the instructions are correct.

        There are at least two substantive reasons that making your question dependent on offsite files tends to be discouraged... and deprecated:

        1. Offsite links may disappear into the bit bucket before your question loses relevance for some future reader.
        2. Some of us tend to regard off-site code as potentially malicious.

        Yes, your source is very long. But code & data supporting the question could be made much more concise (and thus, posted here) were you to try to follow some of the suggestions in this advice . See also [SSCCE|link to short form definition and link.

Re: Perl for ARMv7le
by Anonymous Monk on Dec 19, 2016 at 18:39 UTC
    Ask yourself, what do I need from QNX and why do I need Perl. You'll find you only need one of the two, because these concerns are not cross cutting.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-25 15:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found