This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
Re: no insight executable built with target=arm-elf (mingw and ubuntu)
- From: Brian Sidebotham <micros at valvers dot com>
- To: insight at sourceware dot org
- Date: Thu, 28 Jun 2007 14:43:10 +0100
- Subject: Re: no insight executable built with target=arm-elf (mingw and ubuntu)
- References: <468257FD.4010904@valvers.com> <4682B85F.80906@redhat.com>
- Reply-to: micros at valvers dot com
Something must be wrong with your build. Does
$BUILDDIR/gdb/insight$(EXEEXT) not exist? Can you scan through the
output of the configure/build to see if it was disabled or if some
dependency missing?
Hi Keith,
$BUILDDIR/gdb/insight$(EXEEXT) doesn't exist after a build. However,
there are a few clues on my windows box.
whilst configuring in gdb, tcl and x don't get detected:
checking for Tcl configuration... checking for X... no
I can now get the build to start building gdbtk, but it gives errors :(
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.
The ${BUILDDIR}/gdb/config.h file has HAVE_SYS_IOCTL_H commented out,
but then the gdbtk.c file includes it without checking the define anyway.
I still haven't tried the linux box yet as it's at home. Any further
clues greatly appreciated!
Best Regards,
Brian Sidebotham.