[RTEMS Project] #3816: Windows / MSYS2 build error for Sparc/SIS - missing sys/socket.h

RTEMS trac trac at rtems.org
Fri Nov 8 07:57:00 UTC 2019


#3816: Windows / MSYS2 build error for Sparc/SIS - missing sys/socket.h
------------------------+---------------------------
 Reporter:  Jeff Mayes  |       Owner:  Jiri Gaisler
     Type:  defect      |      Status:  assigned
 Priority:  normal      |   Milestone:
Component:  arch/sparc  |     Version:  5
 Severity:  normal      |  Resolution:
 Keywords:              |  Blocked By:
 Blocking:              |
------------------------+---------------------------

Comment (by Jiri Gaisler):

 Replying to [comment:5 Chris Johns]:
 > Replying to [comment:4 Jiri Gaisler]:
 > > Can I assume that we talk about mingw-w64 support only, and not the
 original 32-bit mingw? It would simplify things ...
 >
 > I was thinking about native Windows winsock calls so I am not sure if
 this makes a difference. Is there an issue I am not aware of?

 It is not so much winsock, but terminal handling. Windows and mingw/msys
 does not support termios, thus no readline or linenoise. And reverting to
 fgets() feels a bit primitive. However, the newer mingw-w64/msys2 has a
 port of readline which is also used by gdb et al. So going with msys2
 would make the porting easier as only the winsock needs to be addressed
 ...

--
Ticket URL: <http://devel.rtems.org/ticket/3816#comment:6>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list