On Tue, Feb 14, 2017 at 9:58 AM, Ken Takata <ktakata65...@gmail.com> wrote: > 2017/2/14 Tue 22:58:45 UTC+9 Steve Hall wrote: > > > > I'm was simply using "make -f Make_cyg.mak", that was the default. > > Hmm, did you set 'ARCH=x86-64' manually? > The command line you pasted has '-march=x86-64'. This is for 64-bit build.
I had ARCH set to try and force it but it didn't work via Make_cyg.mak without the CROSS_COMPILE. > > Looks like Make_cyg.mak forces w32. So I referenced Make_cyg_ming.mak > > instead with your CROSS_COMPILE set and all is good. > > You can use the following command to overwrite the CROSS_COMPILE setting: > > make -f Make_cyg.mak CROSS_COMPILE=x86_64-w64-mingw32- I'm setting the environment elsewhere now. So the only other thing in Make_cyg is UNDER_CYGWIN = yes. Not sure what that does, is it important? > BTW, Cygwin has three MinGW cross compiler packages. > > 1. i686-pc-mingw32-gcc: The original version of 32-bit MinGW. > 2. i686-w64-mingw32-gcc: 32-bit version of MinGW-w64. > 3. x86_64-w64-mingw32-gcc: 64-bit version of MinGW-w64. > > When I refactored Make_cyg.mak in v7.4.496, I set #1 as default, but it seems > that #1 is almost dead. I haven't checked, but maybe v8.0.219 or later cannot > be compiled by #1. I think #2 should be default now. Makes sense. From here on, I'll only build/post w64 versions. But the build is automated so I can build a w32 if someone specifically asks. Thanks, again. -- Steve Hall [ digitect dancingpaper com ] Cream for Vim http://cream.SourceForge.net -- -- 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 vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.