Compiling vim on Windows using mingw with debug symbols

58 views
Skip to first unread message

Christian Brabandt

unread,
Apr 13, 2011, 4:08:16 PM4/13/11
to vim...@vim.org
Hi,
until recently, I could successfully build and run gvim for Windows
using mingw.

But today I noticed, I can build a debug build of vim, using mingw, but
it won't run. Gvim does not even startup. When running under gdb, I get
this error:

C:\cygwin\home\Christian Brabandt\vim\src>gdb gvimd.exe
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from C:\cygwin\home\Christian Brabandt\vim\src/gvimd.exe...done.
(gdb) r
Starting program: C:\cygwin\home\Christian Brabandt\vim\src/gvimd.exe
[New Thread 2296.0x464]

Program received signal SIGSEGV, Segmentation fault.
WinMain (hInstance=0x400000, hPrevInst=0x0, lpszCmdLine=0x90360e "", nCmdShow=10) at os_w32exe.c:138
138 return 0;
(gdb)

Does anybody knows what happened or how am I supposed to compile a
windows version with debug symbols built in, that works?

For the record, this is a win7, 64bit system.

regards,
Christian

Reply all
Reply to author
Forward
0 new messages