Wednesday, February 20, 2019

Re: Windows build: STATIC_STDCPLUS=yes no longer works

# HG changeset patch
# Parent a7fe8a7065f3ebf6b9d67c8a8a157c9ff77a5e92

diff --git a/src/Make_cyg_ming.mak b/src/Make_cyg_ming.mak
--- a/src/Make_cyg_ming.mak
+++ b/src/Make_cyg_ming.mak
@@ -934,7 +934,7 @@ ifeq (yes, $(USE_STDCPLUS))
LINK = $(CXX)
ifeq (yes, $(STATIC_STDCPLUS))
#LIB += -static-libstdc++ -static-libgcc
-LIB += -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic
+LIB += -Wl,-Bstatic -lstdc++ -lgcc -Wl,-Bdynamic
endif
else
LINK = $(CC)
Hi,

2019/2/20 Wed 22:31:56 UTC+9 Salman Halim wrote:
> Hello,
>
>
> I upgraded my GVim on Windows from 8.1.822 to 8.1.956 yesterday. I noticed that the STATIC_STDCPLUS=yes no longer seems to have an effect and that I need to have both libwinpthread-1.dll and libgcc_s_dw2-1.dll. I didn't for 8.1.822.
>
>
> I build using 32-bit MSys with this:
>
>
>
> cd vim/src
>
>
> mingw32-make -f Make_ming.mak -j$NUMBER_OF_PROCESSORS GUI=yes FEATURES=HUGE PYTHON=c:/Python27 PYTHON_VER=27 DYNAMIC_PYTHON=yes STATIC_STDCPLUS=yes
>
>
> Perhaps the removal of DOS did something?
>
>
> Thank you,

Could you try the attached patch?

Regards,
Ken Takata

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: