4

I am working with an embedded board that has a MIPS processsor. I am supposed to be developing tests for the system with different applications. My question is: is there a way to cross-compile Perl or Expect for the target board. My understanding is that the board we use is MIPS with a 800 MHz processor. Not sure of the model number. I know that we use CodeSourcery to compile all applications.

Is there a way to use CodeSourcery or other tools to compile Perl or Expect for the target board?

Jonathan Leffler
  • 730,956
  • 141
  • 904
  • 1,278
Anonymous
  • 1,500
  • 3
  • 18
  • 30
  • If the proposal for [Improving Cross compilation of Perl 5](http://news.perlfoundation.org/2012/05/grant-application-improving-cr.html) by [castaway](http://stackoverflow.com/users/4840/castaway) is granted and completed, cross-compiling will be much easier for everyone. Community, please share this. – daxim May 11 '12 at 08:59

1 Answers1

3

Take a look at Cross-compiling Perl for ARM, and do the same thing, but with correct (i.e. MIPS) values for targetarch and the Code Sourcery MIPS compiler.

Community
  • 1
  • 1
markgz
  • 6,054
  • 1
  • 19
  • 41