This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
RE: Building Insight for Cygwin
- From: Pavel Fedin <p dot fedin at samsung dot com>
- To: 'Pavel Fedin' <p dot fedin at samsung dot com>, 'Keith Seitz' <keiths at redhat dot com>
- Cc: insight at sourceware dot org
- Date: Thu, 01 Aug 2013 13:04:11 +0400
- Subject: RE: Building Insight for Cygwin
- References: <003801ce8c3f$9232bcb0$b6983610$%fedin at samsung dot com> <51F84A74 dot 2010405 at redhat dot com> <002601ce8db2$6bb2ad10$43180730$%fedin at samsung dot com>
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