bug-fileutils
[Top][All Lists]
Advanced

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

Re: fileutils-4.1


From: Jim Meyering
Subject: Re: fileutils-4.1
Date: Sun, 09 Dec 2001 22:42:00 +0100
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1.50 (i686-pc-linux-gnu)

Hi Sir Ace,

You may still use the configure script, even when cross compiling.
However, you'll have to prime the cache with the correct answers for
your target system so that the configure-time `run' tests are not run.
Luckily for you, there aren't too many such tests.

For example, in the case of setvbuf, you'd look at the test and
determine whether to set ac_cv_func_setvbuf_reversed to yes or no,
then e.g., run configure like this:

  env ac_cv_func_setvbuf_reversed=yes ./configure

That way, all of the non-run-tests will be run as usual, using your
cross compiler, but that one run-test will not actually be run -- the
configure script will work just as if the test had run and produced
the result you specified via the environment.

BTW, confdefs.h is generated by the configure script.

I suggest you use the latest test release:

  ftp://alpha.gnu.org/gnu/fetish/fileutils-4.1.3.tar.gz


Sir Ace <address@hidden> wrote:
>   Problem.... Impossible to build whit a cross compiler....
> The configure script exits on a cross build, so I took the source
> it is supposed to run and attempted to compile it, and test it on the
> system.
> It generates the following errors:
...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]