Hi Ken, 2016-7-14(Thu) 0:05:48 UTC+9 Ken Takata: > Hi Axel, > > 2016/7/13 Wed 23:49:48 UTC+9 Axel Bender wrote: > > For my MinGW installation "gcc -dumpmachine" returns "x86_64-w64-mingw32"; > > the build fails with: > > > > Compiling gvim.exe... > > mkdir -p gobjx86_64 > > gcc -c -Iproto -DWIN32 -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 -DHAVE_PATHDEF > > -DFEAT_BIG -DHAVE_STDINT_H -DHAVE_GETTEXT -DHAVE_LOCALE_H -DDYNAMIC_GETTEXT > > -DFEAT_CSCOPE -DFEAT_JOB_CHANNEL -DFEA > > T_GUI_W32 -DFEAT_CLIPBOARD -DFEAT_MBYTE -DFEAT_MBYTE_IME -DDYNAMIC_IME > > -DDYNAMIC_ICONV -pipe -march=x86_64 -Wall -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 > > -DDYNAMIC_PYTHON3_DLL=\"python35.dll\" -O3 - > > fomit-frame-pointer -freg-struct-return -s arabic.c -o gobjx86_64/arabic.o > > arabic.c:1:0: error: bad value (x86_64) for -march= switch > > /* vi:set ts=8 sts=4 sw=4: > > ^ > > make: *** [Make_cyg_ming.mak:868: gobjx86_64/arabic.o] Error 1 > > > > Setting "ARCH" to "x86-64" resoves the issue. > > Oops, I didn't aware the difference between x86_64 and x86-64. > Attached patch should fix it.
I think your patch is too hard coded. How about my attached patch? Thanks. -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- 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/d/optout.
diff --git a/src/Make_cyg_ming.mak b/src/Make_cyg_ming.mak index 9bc2419..0e21256 100644 --- a/src/Make_cyg_ming.mak +++ b/src/Make_cyg_ming.mak @@ -149,7 +149,7 @@ WINDRES_CC = $(CC) # Get the default ARCH. ifndef ARCH -ARCH := $(shell $(CC) -dumpmachine | sed -e 's/-.*//') +ARCH := $(shell $(CC) -dumpmachine | sed -e 's/-.*//' -e 's/_/-/') endif
