Crocc GDB for powerpc-eabi

Peter Barada pbarada@wavemark.com
Tue May 18 09:19:00 GMT 1999


>gcc -c -g -O2 -DDEFAULT_INLINE=INLINE_LOCALS     -DWITH_HOST_BYTE_ORDER=
>LITTLE_ENDIAN -DWITH_SMP=5              -DHAVE_TERMIOS_STRUCTURE 
>-DHAVE_TERMIOS_CLINE -DHAVE_DEVZERO     -I. -I../../../gdb-4.17/sim/ppc 
>-I../../../gdb-4.17/sim/ppc/../../include 
>-I../../bfd -I../../../gdb-4.17/sim/ppc/../../bfd 
>-I../../gdb -I../../../gdb-4.17/sim/ppc/../../gdb  
>-I../../../gdb-4.17/sim/ppc/../../gdb/config 
>-I../../../gdb-4.17/sim/ppc/../../mmalloc 
>../../../gdb-4.17/sim/ppc/emul_unix.c
>In file included from /usr/include/sys/ioctl.h:30,
>                 from /usr/include/sys/mount.h:27,
>                 from ../../../gdb-4.17/sim/ppc/emul_unix.c:113:
>/usr/include/ioctl-types.h:37: redefinition of `struct termios'
>make[2]: *** [emul_unix.o] Error 1

I ran into this as well on RH 5.2, and I found that removing the
inclusion if <mount.h> from emul_unix.c prevents the redeclaration of
'struct termios', and allows everything to build.

So far everything seems to work fine, but YMMV.

-- 
Peter Barada                             pbarada@wavemark.com
Wizard                                   781-852-2768 (direct)
WaveMark Technologies, Inc.              781-270-0193 (fax)

"Real men know that you should never attempt to accomplish with words
what you can do with a flame thrower" --Bruce Ferstein
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.


More information about the crossgcc mailing list