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 <[EMAIL PROTECTED]> 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: ... _______________________________________________ Bug-fileutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-fileutils