[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: coreutils-4.5.12 doesn't build on HP-UX 11.00 with gcc 3.0.4
From: |
Jim Meyering |
Subject: |
Re: coreutils-4.5.12 doesn't build on HP-UX 11.00 with gcc 3.0.4 |
Date: |
Thu, 03 Apr 2003 11:57:26 +0200 |
Jerome Zago <address@hidden> wrote:
...
> address@hidden:~/src/tmp$ cat k.c
> #include <stddef.h>
> size_t n;
> address@hidden cc -c k.c && echo OK
> OK
> address@hidden gcc -c k.c && echo OK
> OK
> -----
>
> Note that coreutils-4.5.12 does build with cc:
> -----
> address@hidden:~/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.