in reply to Perl for ARMv7le

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.

Replies are listed 'Best First'.
Re^2: Perl for ARMv7le
by monk88 (Novice) on Dec 19, 2016 at 19:31 UTC

      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.

        I tried without the -j4 option, I get the same error

        ./generate_uudmap uudmap.h bitcount.h mg_data.h ./generate_uudmap: 1: ./generate_uudmap: Syntax error: word unexpected (expecting ")") make: *** uudmap.h Error 2

        also tried "arm" instead of " armle"for -Dtargetarch, but i end up getting same error

      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.