in reply to Re: Cross Compile Problem?
in thread Cross Compile Problem?

Looks like it should be possible to build it :/

smoke 5.14.2 armv5tel Smoke [5.14.2] v5.14.2-2-g436ead3 PASS linux 2.6.32-5-kirkwood [debian] (armv5tel/)

Replies are listed 'Best First'.
Re^3: Cross Compile Problem?
by Anonymous Monk on Jan 22, 2012 at 00:13 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