Charles E Campbell Jr wrote:
Charles E Campbell Jr wrote:
Hello!
I usually build vim myself with cygwin + make -f make_cyg.mak .
However, I'm getting a message
gcc: The -mno_cygwin flag has been removed; use a mingw targeted
cross-compiler.
on the first file it tries to compile (blowfish.o), and, sad to say,
no gvim.exe .
I read in make_cyg.mak a suggestion to try make_ming.mak, so here's my
try:
errors about no definition for _MAX_PATH. I added _MAX_PATH=1024 to
DEFINES.
Next problem: conflicting types for gettimeofday (main.c:3326 vs
time.h:74). Interim solution: #if 0 ... #endif around gettimeofday
in main.c . Of course, I don't know yet if it'll link.
Next problem: netbeans.c:204 storage size of 'server' isn't known .
There are more errors, too; attempting disabling netbeans.
Next problem: xxd still uses Make_cyg.mak, which in turn complains
about -mno_cygwin.
Next problem: lots of undefined references.
Here's my list of undefined references: (attempted to build gvim.exe)
gobj/os_win32.o:os_win32.c:(.text+0x43c): undefined reference to `_wcsicmp'
gobj/os_win32.o:os_win32.c:(.text+0x617): undefined reference to `__wfopen'
gobj/os_win32.o:os_win32.c:(.text+0x6b5): undefined reference to `__wopen'
gobj/os_mswin.o:os_mswin.c:(.text+0x913): undefined reference to
`_IID_IPersistFile'
gobj/os_mswin.o:os_mswin.c:(.text+0x20af): undefined reference to `__wstat'
gobj/os_mswin.o:os_mswin.c:(.text+0x2178): undefined reference to `__wchdir'
gobj/os_mswin.o:os_mswin.c:(.text+0x2b83): undefined reference to
`__wfullpath'
gobj/if_cscope.o:if_cscope.c:(.text+0x1e37): undefined reference to
`__open_osfhandle'
gobj/if_cscope.o:if_cscope.c:(.text+0x1e7c): undefined reference to
`__open_osfhandle'
collect2: ld returned 1 exit status
make: *** [gvim.exe] Error 1
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php