Sean Ma wrote: > I used to have this simple command to build my own gVim.exe (cygwin > independent) for Windows: > > vim123() { cd /usr/share/vim && svn co > https://vim.svn.sourceforge.net/svnroot/vim/vim7 > && cd vim7/src && make -f Make_cyg.mak; } > > However, I found error after downloading cygwin 1.7: > > ... > A vim7/README_lang.txt > A vim7/runtime.info > ... > Checked out revision 1711. > mkdir -p gobj > gcc -c -O3 -fomit-frame-pointer -freg-struct-return -fno-strength- > reduce -DWIN32 -DHAVE_PATHDEF -DFEAT_BIG -DWINVER=0x0400 - > D_WIN32_WINNT=0x0400 -DDYNAMIC_GETTEXT -DDYNAMIC_ICONV -DFEAT_MBYTE - > DFEAT_MBYTE_IME -DDYNAMIC_IME -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG - > DFEAT_GUI_W32 -DFEAT_CLIPBOARD -march=i386 -Iproto -s -mno-cygwin > buffer.c -o gobj/buffer.o > gcc: The -mno-cygwin flag has been removed; use a mingw-targeted cross- > compiler. > > make: *** [gobj/buffer.o] Error 1 > > Any idea?
I think this tells you to use the MingW compiler instead of the Cygwin one. The MingW compiler is for building native MS-Windows apps, without the Cygwin runtime. I though the -mno-cygwin argument had the same intention. Perhaps they removed support for that to simplify maintenance of the compiler. -- >From "know your smileys": % Bike accident. A bit far-fetched, I suppose; although... o _ _ _ _o /\_ _ \\o (_)\__/o (_) _< \_ _>(_) (_)/<_ \_| \ _|/' \/ (_)>(_) (_) (_) (_) (_)' _\o_ /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
-- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php