Issue cross compiling for arm

Post here if you have having problem using the Makefile build process.

Issue cross compiling for arm

Postby corbinlc » Fri Jan 20, 2012 3:29 am

We are working on cross compiling octave for an arm architecture. We need to also cross compile the dependencies included BLAS and LAPACK. Got non-optimized version of BLAS cross compiled no problem (obviously want to optimize after proof of concept worked out), but got errors such as these when cross compiling LAPACK:

./testlsame: 1: Syntax error: word unexpected (expecting ")")
./testslamch: 1: Syntax error: word unexpected (expecting ")")
./testdlamch: 1: Syntax error: word unexpected (expecting ")")
./testsecond: 1: Syntax error: word unexpected (expecting ")")
./testdsecnd: 1: Syntax error: word unexpected (expecting ")")
./testieee: 1: Syntax error: word unexpected (expecting ")")
./testversion: 1: Syntax error: word unexpected (expecting ")")

It seems it is trying to run some tests on the build machine (linux x86), but these tests were cross compiled for an arm architecture, or at least that is what I assume is happening. So, is there a basic guide for cross compiling LAPACK? Is there a prescribed workaround, like manually telling the make flow what is supported?

Thanks,
Corbin
corbinlc
 
Posts: 1
Joined: Fri Jan 20, 2012 3:24 am

Return to Makefile

Who is online

Users browsing this forum: No registered users and 1 guest

cron