Re: Mingw GDB build fails for M16C target

Mahesh Basavaraj Shavari
2009-08-05T12:59:21Z

Hi,

I have now built the MinGW gdb successfully but without simulator;
using option '--disable-sim'.

There is still following issue with simulator building:

>/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c:29:24:
>sys/select.h: No such file or directory
>/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c:30:21:
>termios.h: No such file or directory
>/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c: In function
>`stdin_ready':
>/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c:383: error:
>`fd_set' undeclared (first use in this function)

Any help would be highly appreciated.
Thank you.

Best regards,
Mahesh Shavari