This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: New mingw32 support problems
- From: Pedro Alves <pedro_alves at portugalmail dot pt>
- To: Pierre Muller <muller at ics dot u-strasbg dot fr>
- Cc: gdb at sourceware dot org, 'Joel Brobecker' <brobecker at adacore dot com>
- Date: Fri, 19 Oct 2007 02:09:19 +0100
- Subject: Re: New mingw32 support problems
- References: <001b01c81159$5e287390$1a795ab0$@u-strasbg.fr>
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