This is the mail archive of the insight@sourceware.org mailing list for the Insight 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: no insight executable built with target=arm-elf (mingw and ubuntu)



> -----Original Message-----
> From: insight-owner@sourceware.org
> [mailto:insight-owner@sourceware.org] On Behalf Of Keith Seitz
> Sent: Thursday, June 28, 2007 4:15 PM
> To: micros@valvers.com
> Cc: insight@sourceware.org
> Subject: Re: no insight executable built with target=arm-elf
> (mingw and ubuntu)
>
> Brian Sidebotham wrote:
> > My prefix line is now:
> > ../src/configure --target=arm-elf --prefix=${INSTALLDIR}
> > --with-tclconfig=${BUILDDIR}/tcl/win
> --with-tkconfig=%{BUILDDIR}/tk/win
> >
> > the build fails when compiling ${SRCDIR}/gdb/gdbtk/generic/gdbtk.c
> > because it's trying to include <sys/ioctl.h> but mingw
> doesn't have a
> > sys/ioctl.h include. Excluding this include in the source
> code fails on
> > the errors - sigaction structure not defined.
>
> Are you using mingw or Cygwin? You cannot build/run Insight or gdb on
> mingw (at least that was true the last time I looked at it).
> Officially,
> mingw is not a supported platform (although I have heard of people
> making having various degrees of success making it work).

That's not exactly true, Keith.

I can build GDB host=mingw target=avr for 6.5. I assume 6.6 works, though I
haven't tried it yet. AFAIK, support for host=mingw was put into the GDB
repo in 6.5.

Insight also builds (same configuration), though I also ran into the issue
that it didn't produce an avr-insight executable. Dave Murphy (CCed) gave me
a patch that fixed it up, though the patch has a bunch of other stuff too.
This discussion is in the insight archives in the April 2007 time frame.

Eric Weddington



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