On 27/08/2010 8:37 PM, 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.

You need the MinGW compiler tool chain available from the Cygwin installer to support the '-mno-cygwin' option.


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:

This may work, but again, you would need to use a MinGW compiler, by default 'gcc' would be the native Cygwin compiler.

errors about no definition for _MAX_PATH. I added _MAX_PATH=1024 to DEFINES.

_MAX_PATH in Windows is 260.

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.

I suspect this is a result of using the native Cygwin compiler with the MinGW Makefile.

Chris

--
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

Raspunde prin e-mail lui