Jerome Zago <[EMAIL PROTECTED]> wrote:
...
> [EMAIL PROTECTED]:~/src/tmp$ cat k.c
> #include <stddef.h>
> size_t n;
> [EMAIL PROTECTED] cc -c k.c && echo OK
> OK
> [EMAIL PROTECTED] gcc -c k.c && echo OK
> OK
> -----
>
> Note that coreutils-4.5.12 does build with cc:
> -----
> [EMAIL PROTECTED]:~/src/orig/coreutils-4.5.12$ CC=cc ./configure >/dev/null 2>&1 && 
> make >/dev/null 2>&1 && echo OK

Thank you.
So it's something more subtle.
Please do this in the build directory you configured to use gcc:

cd lib
rm full-read.o
make AM_CFLAGS='-E -dD' full-read.o

Then look at the resulting full-read.o file (it contains preprocessor
output) and try to see what's going wrong.  It should include a
declaration or definition of size_t before the first use in safe-read.h.
Please send a copy of that file to me, not to the list.

In any case, you might want to install a newer version of gcc.
3.0.4 is pretty old.


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to