adlai b wrote:
>
> gcc -o SunOS5.6_gcc_DBG.OBJ/sparcfix -O sparcfix.c -lelf
> In file included from /usr/include/sys/elf.h:18,
> from /usr/include/libelf.h:14,
> from sparcfix.c:41:
> /usr/include/sys/elftypes.h:53: #error "64 bit integer types not
> supported on this platform"
> gmake[2]: *** [SunOS5.6_gcc_DBG.OBJ/sparcfix] Error 1
>
> _______________________________________________________________________
> do I need to have a particular solaris patch???
Looks to me like a problem with gcc.
You've apprently got the normal solaris elftypes.h file. The line in
question declares a typedef of a new type that is unsigned long long.
The WorkShop compilers all support unsigned long long, even in 32-bit
mode. Looks like your gcc doesn't.
Are you running on a 32-bit CPU? E.g. not an UltraSparc, but an older
SuperSparc or just plain Sparc that doesn't have 64-bit registers?
--
Nelson B. Bolyard
Disclaimer: I speak for myself, not for Netscape