$ mipsel-linux-gcc --version mipsel-linux-gcc (GCC) 3.3.1 Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ ../coreutils-5.0/configure --build=i686-linux --host=mipsel-linux --target=mipsel-linux
Results in the following lines in config.h:
<...>
/* the maximum number of simultaneously open files per process */ #define UTILS_OPEN_MAX cross compiling run-test in open-max.m4
<...>
du.c then will not compile as it indirectly uses this macro.
I worked around by patching the config.h to define this as 1024, but fixing the configure process would probably be better.
This is FYI only, as I do not plan to try to fix it.
David Daney.
_______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-coreutils
