Jim Meyering wrote:
If someone cares enough about HP's C compiler, they teach
autoconf to detect this limitation and automatically add an
appropriate -H option, presumably to raise its internal limit.
I'd love to help, but as mentioned, I have *no* idea how to feed options
to cc so that it passes them to cpp.
That said, trying to parse 8k worth of macro doesn't seem just a /touch/
excessive? ;-)
In the mean time, can you use gcc on that system?
I have... gcc 2.8.1:
make all-recursive
make[3]: Entering directory
`/tmp_mnt/home/install/gnu/build/hp700_hpux/coreutils-7.1.63-8e6a6/lib'
make[4]: Entering directory
`/tmp_mnt/home/install/gnu/build/hp700_hpux/coreutils-7.1.63-8e6a6/lib'
source='set-mode-acl.c' object='set-mode-acl.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/sh ../build-aux/depcomp \
gcc -I. -I/home/install/gnu/hp700_hpux/include -g -O2 -c
-o set-mode-acl.o set-mode-acl.c
In file included from wchar.h:46,
from stdint.h:482,
from stdlib.h:52,
from acl-internal.h:23,
from set-mode-acl.c:24:
/usr/include/wchar.h:54: warning: `WEOF' redefined
wchar.h:114: warning: this is the location of the previous definition
In file included from acl.h:20,
from set-mode-acl.c:22:
/gnu/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include/sys/types.h:28:
warning: empty declaration
/gnu/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include/sys/types.h:35:
warning: empty declaration
/gnu/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include/sys/types.h:102:
warning: empty declaration
/gnu/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include/sys/types.h:150:
warning: empty declaration
/gnu/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include/sys/types.h:206:
warning: empty declaration
In file included from sys/time.h:39,
from /usr/include/sys/resource.h:50,
from
/gnu/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include/sys/wait.h:83,
from
/gnu/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include/stdlib.h:231,
from stdlib.h:34,
from acl-internal.h:23,
from set-mode-acl.c:24:
time.h:66: warning: `struct timespec' declared inside parameter list
time.h:66: warning: its scope is only this definition or declaration,
time.h:66: warning: which is probably not what you want.
In file included from
/gnu/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include/sys/wait.h:83,
from
/gnu/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include/stdlib.h:231,
from stdlib.h:34,
from acl-internal.h:23,
from set-mode-acl.c:24:
/usr/include/sys/resource.h:106: field `ru_utime' has incomplete type
/usr/include/sys/resource.h:107: field `ru_stime' has incomplete type
In file included from stdio.h:40,
from /usr/include/pwd.h:117,
from
/gnu/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include/stdlib.h:330,
from stdlib.h:34,
from acl-internal.h:23,
from set-mode-acl.c:24:
/gnu/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/include/stddef.h:118:
warning: empty declaration
In file included from /usr/include/wchar.h:63,
from wchar.h:46,
from stdint.h:482,
from stdlib.h:52,
from acl-internal.h:23,
from set-mode-acl.c:24:
/usr/include/sys/_mbstate_t.h:11: conflicting types for `rpl_mbstate_t'
wchar.h:123: previous declaration of `rpl_mbstate_t'
In file included from wchar.h:46,
from stdint.h:482,
from stdlib.h:52,
from acl-internal.h:23,
from set-mode-acl.c:24:
/usr/include/wchar.h:72: conflicting types for `rpl_mbsinit'
wchar.h:174: previous declaration of `rpl_mbsinit'
/usr/include/wchar.h:73: conflicting types for `rpl_mbrlen'
wchar.h:210: previous declaration of `rpl_mbrlen'
/usr/include/wchar.h:74: conflicting types for `rpl_mbrtowc'
wchar.h:192: previous declaration of `rpl_mbrtowc'
/usr/include/wchar.h:89: conflicting types for `rpl_wcrtomb'
wchar.h:264: previous declaration of `rpl_wcrtomb'
make[4]: *** [set-mode-acl.o] Error 1
make[4]: Leaving directory
`/tmp_mnt/home/install/gnu/build/hp700_hpux/coreutils-7.1.63-8e6a6/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/tmp_mnt/home/install/gnu/build/hp700_hpux/coreutils-7.1.63-8e6a6/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/tmp_mnt/home/install/gnu/build/hp700_hpux/coreutils-7.1.63-8e6a6/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/tmp_mnt/home/install/gnu/build/hp700_hpux/coreutils-7.1.63-8e6a6'
make: *** [all] Error 2
--
Matthew
Please do not quote my e-mail address unobfuscated in message bodies.
--
"Two IIRC's must make a right" -- Larry Hall (paraphrased)
_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils