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

Re: porting app with gnu configure

That looks similar to the way I have done it when building appliations using
configure (e.g openssh) and I don't know of any better way.
Unfortunatly I have had the same problems as you, autoconf isn't exactly
optimal when it comes to cross compiling (I guess it depend on who wrote
the configure.in as well)
For some tests there might be options or defines to control the behavior
so the test is skipped, but for some tests you simply have to add your own
configure options or skip the test.

Good luck!

----- Original Message -----
From: Vladimir Bormotov <bor@xxxxxxx.ua>
To: dev-etrax <dev-etrax@xxxxxxx.com>
Sent: Saturday, October 06, 2001 9:09 PM
Subject: porting app with gnu configure

> Hi!
>  I try
>  $ export CC=cris-gcc
>  $ export AR=cris-ar
>  $ export RANLIB=cris-ranlib
>  $ ./configure --target=cris-axis-linux-gnu
>  but..
> ....
>  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?
> --
> Bor.