New mingw32 support problems
Pedro Alves
pedro_alves@portugalmail.pt
Fri Oct 19 01:09:00 GMT 2007
Pierre Muller wrote:
> I tried the new patch from Pedro for mingw
> under rxvt msys 1.0.10.
>
Thanks!
>
> First problem:
> when I configure without arguments at src level
> and start 'make all-gdb', I get into troubles...
>
> I finally understood that the problem was that
> the src level also enables gdbtk, which is disabled
> by default under cygwin.
>
> Of course, mingw32 is no able to compile gdbtk.
>
> I finally was able to create a gdb.exe using
> ../src/configure --disable-nls --disable-tui --disable-deps --disable-gdbtk;
> make all-gdb
> I am not sure all these options are needed.
>
I don't use msys. I build from a cygwin environment, with a
few shell scripts wrapping mingw32-gcc/mingw32-g++ that
simply call cygpath on absolute paths (-I, -L, sources,
outputs, etc).
I built with:
$ ../src/configure --build=mingw32 --host=mingw32 --target=mingw32
TUI is disabled automatically, since there's no curses, and I don't
have the gdbtk here.
> level1> warning: Can not parse XML library list; XML support was disabled at
> compile time
>
>
> Using cygwin gdb as level 1 I get
> better information for the backtrace:
You have DLL support disabled. If you rebuild the mingw gdb
with libexpat available, you'll get as good
backtrace information.
> Could someone please test this
> and report if this is specific to my setup
> or a generic problem with mingw32 support?
>
I see it here too. More comments in the next email.
Cheers,
Pedro Alves
More information about the Gdb
mailing list