make of egcs2.95-19990629 on HPUX 11.00
Jeffrey A Law
law@cygnus.com
Sat Jul 31 23:33:00 GMT 1999
In message < 199907092029.QAA01107@hahp9k02.harte-lyne.ca >you write:
> On 9 Jul 99, at 11:23, Jeffrey A Law wrote:
>
> > These are symptoms of gcc-2.95 not supporting hpux11.
> >
>
> Yes. I was aware of that. The same problem occurred in gcc 2.8.1.
> However, is it "required" that the builtin functions of egcs/gcc
> always be used? Can't the native HP-UX 11 memcmp, memcpy, and memset
> be used instead?
They can, -fno-builtin. But that's really not solving the underlying
problem. HP changed the type of size_t and/or ptrdiff_t between hpux10
and hpux11. For a variety of reasons gcc needs to know the precise
definitions of those types. When gcc has the wrong definitions of those
types a variety of bad things happen.
It is also necessary to add some cpp predefines to make hpux11 work
correctly.
jeffj
More information about the Gcc-bugs
mailing list