This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: Getting an insight 6.1 executable on Cygwin
- From: "E. Weddington" <ericw at evcohs dot com>
- To: Keith Seitz <keiths at redhat dot com>
- Cc: "insight at sources dot redhat dot com" <insight at sources dot redhat dot com>
- Date: Fri, 09 Jul 2004 12:38:58 -0600
- Subject: Re: Getting an insight 6.1 executable on Cygwin
- References: <40EE6DF3.23021.DC957620@localhost>
On 9 Jul 2004 at 10:00, Keith Seitz wrote:
> On Fri, 2004-07-09 at 09:05, E. Weddington wrote:
> > This *mostly* works. Starting from a clean install directory, it
> > doesn't build avr-insight.exe (but I do get an avr-gdb.exe and an
> > avr-gdbtui.exe [that's a new one for me]). But if I build it again
> > without cleaning the install directory, I then get an avr-inisght.exe.
>
> You mean a clean build directory? When you apply the patch, you must
> regenerate the toplevel configure, then completely rebuild everything
> (in other words, delete your build directory and reconfigure and build).
> [Perhaps you've already done this. If you have, I apologize: all I can
> say is "it worked for me". :-(]
>
> > Any thoughts on how this can be fixed? Is there a later patch that I'm
> > missing?
>
> As far as I know, there are no other patches. Of course, I don't think I
> ever tried a cross-gdb. I only did native. Maybe that's the ticket? Try
> a clean (cross-avr) build. If that still fails, you can probably force
> gdb to make you an insight executable (run make avr-insight.exe in the
> gdb build directory). If that still fails, try a native cygwin build. If
> that works, then we'll have something to go on.
>
Here's what I did:
1. Clean install directory (prefix)
2. Clean build directory.
3. Unpack the source tarball.
4. Apply patch.
5. configure (build,host=cygwin; target=avr)
6. make all install
In my $(prefix)/bin directory I get avr-gdb.exe, avr-gdbtui.exe, and *no* avr-
insight.exe
In my $(build)/gdb directory I get gdb.exe, gdbtui.exe, and *no* insight.exe.
If I cd to the $(build)/gdb directory and do make insight.exe, it builds
insight.exe in the $(build)/gdb directory. If I then do a make install in the
$(build)/gdb directory, it looks like it installs avr-gdb.exe and avr-
gdbtui.exe, but *no* avr-insight.exe.
Perhaps this is only an issue with a cross?
HTH
Eric