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

RTEMS trac trac at rtems.org
Fri Nov 8 23:41:30 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 Chris Johns):

 Replying to [comment:6 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.

 Ah yes this is a problem on Windows.

 > 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.

 Is this a mingw package of readline? We cannot use msys2 packages.

 > So going with msys2 would make the porting easier as only the winsock
 needs to be addressed ...

 I am fine with a probe for readline and if not present the interface is
 very basic. I have tended to use `sis` with `gdb` and so I have not used
 used the command line.

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


More information about the bugs mailing list