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

Re: porting app with gnu configure



> From: Vladimir Bormotov <bor@xxxxxxx.ua>
> Date: 06 Oct 2001 22:09:18 +0300

>  checking size of long... 4
> checking whether byte ordering is bigendian... configure: error: can not run test program while cross compiling
> 
>   
>  read "GNU Autobook" and patch configure.in (or write own configure.in) is
>  my "main direction", but may be simliest way exist?

Probably not.  Supposedly
<URL:http://www.gnu.org/software/ac-archive/Cross_Compilation/ac_c_bigendian_cross.html>
will work.

Check also
<URL:http://www.gnu.org/software/autoconf/autoconf.html> and
<URL:http://sources.redhat.com/autoconf/>, and in particular the
autoconf macro archive mentioned above (at
<URL:http://www.gnu.org/software/ac-archive/>).

Good luck.

brgds, H-P