From: Earnie B. <ear...@ya...> - 2002-09-12 19:38:38
|
Dan Muller wrote: > > > > >"Earnie Boyd" <ear...@ya...> wrote: > [text elided] > > > > > I think Oscar was intending only to point you to Cygwin's prebuilt > gdb. > > > > > There is no reason why I can think that you should be able to use > M&M > > > > > (MinGW+MSYS) to port gdb to Win32 native. > > > > > > > > > > > >Dan Muller wrote: > > > > Well, heck, I'll give that a try then. I've already got everything > > > > downloaded that I need except for the latest gdb sources. Thanks. > > > > > > > > OT: With all the downloading I've done to rebuild my system this week, > I'm > > > > surprised that my modem hasn't burst into flames. :-) > > > > > > > > > > OK, tried that in a pure MSYS 1.0/MingW 2.0 environment. Configure > failed > > > like this: > > > > > > configure: error: Could not find a term library > > > Configure in /c/SDxTools/gdb-5.2.1/gdb failed, exiting > > > > > > Would that be the termcap library from GnuWin32 that I need? > > > > "Earnie Boyd" <ear...@ya...> wrote: > > I just build from the GCC source. > > > > configure --prefix=/mingw && make && make install > This was in reference to the termcap library. Is that what you meant by > Hmm. You must have something in your environment that I don't. I was very > careful to set things up so that the MSYS environment would only see the > MinGW 2.0 installation, and not any of the GnuWin32 or MinGW 1.1 stuff on my > system. Then I ran configure without any options. > BTW, to properly distribute GDB source, it should include the termcap source used and autoconfistication changed to build it if needed. The GDB source doesn't now include it because on 'nix it's a required library of 'nix itself. > I just downloaded the GnuWin32 termcap library, and added LIBRARY_PATH and > C_INCLUDE_PATH environment variables to point to where I have GnuWin32 > installed, did a 'make distclean', and tried again. I got much farther, but > configure still failed with this error: > > configure: error: *** Gdb does not support native target i686-pc-mingw32 > Configure in /c/SDxTools/gdb-5.2.1/gdb failed, exiting. > This is common for a few tools. You'll have to find where it decides this and add the bits for *-*-mingw32*. > So I'm a bit baffled that it works for you, Earnie. When you say 'from the > GCC source', what exactly do you mean? I just downloaded the source from > http://ftp.gnu.org/gnu/gdb, which I found via > http://sources.redhat.com/gdb/download/. > Well, as I said earlier, I've yet to give gdb a try. Earnie. |