Dmitry wrote:
Steve,
well, I'm just trying to build gdb for mingw.
MinGW provides gdb-5.2.1, but my contractor (gnusmas) wants me to build cross
gdb-6.0 with no cygwin layer. Therefore I'm asking.
Well, will stick on 5.2 then :)
GDB 5.2 doesn't work any better under mingw. The 5.2.1 that mingw supply
is heavily patched (really, really, heavily patched) and it still has
various problems. I wouldn't try using mingw for any version of GDB
right now.
You mentioned readline earlier on. There is a huge patch that mingw use
to get that to compile. It compiles, but it doesn't really work
properly. It has all sorts of quirks. A number of patches are needed for
other things in GDB itself. The mingw guys still haven't sorted out the
file name problems. I tried *really* hard to get mingw and GDB to play
nicely together in my early days with mspgcc. I have up. I recommend you
do too.
All you need for a cygwin build is one extra DLL in the distribution.
Nothing else. Use the installer Chiris has built. A lot of effort went
into gettting that fairly polished.
Regards,
Steve