bug-coreutils
[Top][All Lists]
Advanced

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

Bad config.h on cross-build configure...


From: David Daney
Subject: Bad config.h on cross-build configure...
Date: Mon, 03 Nov 2003 12:26:00 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130

$ 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.





reply via email to

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