Re: Windows build: STATIC_STDCPLUS=yes no longer works

2019-02-20 Thread Salman Halim
On Wed, Feb 20, 2019 at 10:04 PM Ken Takata  wrote:

> 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
>

Hello, Ken,

That fixed it. I'm glad it was such a trivial fix to the makefile. Thanks
very much!

-- 

Salman

I, too, shall something make and glory in the making.

-- 
-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Windows build: STATIC_STDCPLUS=yes no longer works

2019-02-20 Thread Ken Takata
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
# 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)


Windows build: STATIC_STDCPLUS=yes no longer works

2019-02-20 Thread Salman Halim
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,

-- 

Salman

I, too, shall something make and glory in the making.

-- 
-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.