Hi Jorge, 2013/02/08 Fri 14:59:15 UTC+9 skeept wrote:
> I just recently got a laptop where I don't have visual studio. > I would like to compile vim using cygwin/mingw. > I use > make -f Make_cyg.mak CC=x86_64-w64-mingw32-gcc ARCH=x86-64 GUI=yes > > It all seems fine until the linking step. I then get the error: > /usr/lib/gcc/x86_64-w64-mingw32/4.5.3/../../../../x86_64-w64-mingw32/bin/ld: > i386 architecture of input file `gobj/vimrc.o' is incompatible with > i386:x86-64 output It seems that you use a wrong version of windres. Try this command: $ make -f Make_cyg.mak CC=x86_64-w64-mingw32-gcc RC=x86_64-w64-mingw32-windres ARCH=x86-64 GUI=yes Or you may use this command: $ make -f Make_ming.mak CROSS_COMPILE=x86_64-w64-mingw32- ARCH=x86-64 GUI=yes STATIC_STDCPLUS=yes Make_ming.mak can be used even if you use Cygwin. "STATIC_STDCPLUS=yes" is optional. Without this option, libstdc++-6.dll and libgcc_s_sjlj-1.dll are required when you run the gvim.exe. Regards, Ken Takata -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
