in reply to Cross Compile Problem?

If it was cross, http://perl5.git.perl.org/perl.git?a=search&h=HEAD&st=grep&s=armv, see http://perl5.git.perl.org/perl.git/blob/HEAD:/Cross/README.new - Cross-compilation for linux]

Replies are listed 'Best First'.
Re^2: Cross Compile Problem?
by Anonymous Monk on Jan 21, 2012 at 16:04 UTC
      Thanks...thats good news about the armv5tel patch, I had looked but not understood that forum....but where can I find Tony's armv5tel patch?

      Unfortunately I don't understand enough about perl to code the cross compiling information in the first reply

      Compfused

        There is no patch, what patch you talking about?

        ? http://perl5.git.perl.org/perl.git/shortlog/436ead35c86d598eff4ebdaa79725ea1f36e56fc ?

        This is just a documentation change in 5.14.2

        Or ?SMOKE436ead35c86d598eff4ebdaa79725ea1f36e56fc?

        I'm pretty sure this is only the result of running configure for the automated smoke testing, not actual changes to 5.14.2 -- if they were, i'm sure http://search.cpan.org/~tonyc/ would have pushed the changes upstream

        Unfortunately I don't understand enough about perl to code the cross compiling information in the first reply

        README.new tells you to read README, which has some instruction, and also tells you to read INSTALL, and round and round we go :)

        So try one of those instructions and see if they work for you.

        If they don't, try

        http://www.gossamer-threads.com/lists/perl/porters/238027# Problem in Cross-compile

        Given that gcc can be cross compiled, the approach I would take (yes, seriously) is to cross compile a native gcc (and binutils and make) and then build locally. Yes, the actual build might take a day or more. But that's less than the "few days" you've already spent.

        If you follow the url from the report you can find the full log

        • http://perl.develop-help.com/reports/?p=39
        • for http://perl5.git.perl.org/perl.git/commit/436ead35c86d598eff4ebdaa79725ea1f36e56fc
        • http://perl.develop-help.com/cgi-bin/log.pl?ref=5a262d00acb4e0029cfa009e22e48988&log=log

          Configuration: -Dusedevel

          Configure ...[./Configure -des -Dusedevel]
          This means it is not a cross compile, but a standard compile, with all defaults
        • http://perl.develop-help.com/cgi-bin/log.pl?ref=5a262d00acb4e0029cfa009e22e48988&log=rpt
        • http://perl.develop-help.com/cgi-bin/log.pl?ref=5a262d00acb4e0029cfa009e22e48988&log=out