This is the mail archive of the insight@sources.redhat.com 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: Insight build problem on Cygwin


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


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