I am using linux x86 machine and attempting to cross-compile for an arm architecture. I have a toolchain setup for doing such, that I have tested with some more basic examples, meaning I can cross-compile simple code examples and get them running on the arm based device. Now, I am trying to get Octave to build. My first questions/issues come when doing ./configure
1) I first found that I was required to provide --host. I just used --host=arm. How is the --host used?
2) Next when running ./configure --host=arm I got this error:
checking whether fstatat (..., 0) works... configure: error: in `/home/corbin/applications/octave-3.4.3':
configure: error: cannot run test program while cross compiling
I understand why that would be, since it cannot run the test code on the arm system and see whether it works. So, what is the correct work-around? I assume I need to tell it explicitly whether this works or not, but how? I hope I can still use ./configure as opposed to doing it manually, since it looks like ./configure is doing quite a bit before this error.