This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New mingw32 support problems


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]