From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joel Brobecker To: gdb@sources.redhat.com Subject: Porting GDB-5 to native Windows (using MINGW32)... Date: Thu, 07 Jun 2001 07:01:00 -0000 Message-id: <20010607160117.C24677@act-europe.fr> X-SW-Source: 2001-06/msg00022.html We are facing many problems to port GDB 5 under Windows using the MINGW32 environment. Here are the two main problems we have identified: 1) GDB-5 event loop. This part of the code is really UNIX oriented and will be quite difficult to port to native Windows platforms. The main problem is the use of a select statement on files descriptors. The select C routine under Windows works only on socket. 2) readline module The readline module uses some libraries not ported to Windows. For example it uses needs , or this is not available with GCC under Windows. It needs also which is missing. This one should not be to hard to implement though. Maybe there is others issues that we have not yet identified but at least these one are really hard to workaround. This means that we have not been able to build GDB 5 under Windows. Is there any patch already available that fix that ? What is the plan about support of GDB 5 under native Windows ? Do you know of other problems to port GDB-5 under Windows ? We have eard of a readline port available on the net, do you expect this one to be ok to build GDB-5 ? Have anybody tried it ? Thanks. -- Joel