On Tue, 2009-04-14 at 15:50 +0000, Joseph S. Myers wrote: > > Is there a standard way of having GCC provide a new header file > > for a given platform? > > You'd create an alternative setting to "provide", "wrap" and "none", say > "hpux", and add code to handle it. But you shouldn't need to do so simply > because some other headers define some of the types.
OK, when looking at the preprocessed output I see: typedef signed char int_least8_t; typedef __INT_LEAST8_TYPE__ int_least8_t; So the problem seems to be that __INT_LEAST8_TYPE__ isn't defined. On HP-UX 11.23 where I use "wrap" I created a hpux-stdint.h file (like glibc-stdint.h and newlib-stdint.h) to use. I guess I need to use this on HP-UX 11.11 too, even though I am using "provide" instead of "wrap". Steve Ellcey s...@cup.hp.com