This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: Insight build problem on Cygwin
- From: Keith Seitz <keiths at redhat dot com>
- To: mckennad at esatclear dot ie
- Cc: "insight at sources dot redhat dot com" <insight at sources dot redhat dot com>
- Date: 11 Feb 2003 10:00:37 -0800
- Subject: Re: Insight build problem on Cygwin
- Organization:
- References: <3e492f70.51b9.0@esatclear.ie>
On Tue, 2003-02-11 at 09:14, David Mc Kenna wrote:
> I have managed to compile Insight from the latest CVS archive ( Today ) and
> have come across an unusual problem, it won't launch.
Insight is currently broken. See
<http://sources.redhat.com/ml/insight/2003-q1/msg00086.html>.
> Any ideas??
Yup. :-)
As a temporary workaround, you could use this patch.
Index: main.c
===================================================================
RCS file: /cvs/src/src/gdb/main.c,v
retrieving revision 1.27
diff -u -p -r1.27 main.c
--- main.c 7 Feb 2003 00:27:30 -0000 1.27
+++ main.c 11 Feb 2003 17:54:06 -0000
@@ -555,6 +555,7 @@ extern int gdbtk_test (char *);
/* Install the default UI. All the interpreters should have had a
look at things by now. Initialize the default interpreter. */
+ if (init_ui_hook == NULL)
{
/* Find it. */
struct interp *interp = interp_lookup (interpreter_p);
> make -w all install CC='gcc -mwin32' > ../logs/$target-$insightver-make.out
> 2>&1
>
BTW, as cgf points out, you should not need to specify -mwin32. The
build should do this automatically when necessary.
Keith