Re: Cross Compiling ORBit2 to ARM Processor



> After the pactch to configure, the configuration script failed with the
following error:
> configure: error: cannot run test program while cross compiling
>
> Is there a way to get the configure script to by-pass its tests and just
set up the Makefiles to compile and link the shared library?

Just hand edit and comment out the test in the configure script.  It
stupidly checks the system assuming it is running on the system you want to
build for anyway.   Don't forget to set the "test" result to be successfull
so it continues running.  Since you are cross compiling... It won't hurt to
comment all the test stuff.   Just make sure you remove the host machine
libraries from the Makefiles that are generated.  Geez, you would think the
compiler doesn't know anything about its configuration by looking at all
the includes etc they put into the Makefile.

-Dave






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]