RE: Building Insight for Cygwin

Pavel Fedin <[email protected]> Thu, 01 Aug 2013 13:04:11 +0400
Newsgroups gmane.comp.debugging.insight
Message-ID <001601ce8e96$16b82ad0$44288070$%[email protected]>
 Hello!

>  Additionally i do it on 64-bit Cygwin. Had to apply some patchwork,
> currently it almost builds. I will report results.

 I have built somewhat runable version, but it crashes:
--- cut ---
(gdb) run
Starting program: /usr/local/bin/arm-linux-gnueabi-insight
[New Thread 2292.0x1efc]
[New Thread 2292.0x1be8]
[New Thread 2292.0x14e0]

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) where
#0  0x0000000000000000 in ?? ()
#1  0x0000000468466239 in InitWindowClass
(titlebaricon=titlebaricon@entry=0x0) at tkWinWm.c:848
#2  0x00000004684691f7 in InitWm () at tkWinWm.c:895
#3  TkWmMapWindow (winPtr=0x600273aa0) at tkWinWm.c:2095
#4  0x00000004684ee69f in Tk_MapWindow (tkwin=0x600273aa0) at
./../generic/tkWindow.c:1569
#5  0x00000004684a3820 in MapFrame (clientData=0x60029cc00) at
./../generic/tkFrame.c:1778
#6  0x0000000000f91709 in TclServiceIdle () at ./../generic/tclTimer.c:704
--- cut ---

 Sorry but i have neither time nor intention to deal with this further. For
now i'll continue to use MinGW version.
 I think if this is interesting task, we should work with upgraded TCL/TK.
Currently it needs patching even for 64-bit MinGW.

 P.S. Yes, i remember that i can use standalone TCL/TK for Windows. But -
it's inconvenient to have dependency on some 3rd party DLLs, this worsens
software's portability.

Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia