On 06/12/2013 07:41 a.m., Ken Takata wrote:
Hi Cesar,
2013/12/5 Thu 23:52:36 UTC+9 Cesar wrote:
I don't use MinGW, which is installed with Cygwin. I use the standalone
MinGW from http://www.mingw.org and MinGW-w64 from
http://mingw-w64.sourceforge.net/
Do you mean that you use Make_cyg.mak with the standalone MinGW?
Make_cyg.mak is a makefile for MinGW which is installed with Cygwin.
If you use the standalne MinGW, you should use Make_ming.mak.
(I don't know if you want to execute the standalone MinGW from Cygwin.)
BTW, Make_cyg.mak and Make_ming.mak do almost same thing, so I want to
merge them into one. Merging them might reduce the maintenance cost.
This is a trial patch (Maybe more refinement is needed):
https://bitbucket.org/k_takata/vim-ktakata-mq/src/tip/merge-Make_cyg-into-Make_ming.patch
For compiling, normally I only use MinGW (standalone MinGW), not Cygwin,
with the patched Make_ming.mak:
--------------------
--- Make_ming.mak.org 2013-11-22 00:16:21 -0500
+++ Make_ming.mak 2013-12-04 17:13:05 -0500
@@ -688,8 +688,7 @@
$(CC) $(CFLAGS) -o uninstal.exe uninstal.c $(LIB)
$(TARGET): $(OUTDIR) $(OBJ)
- $(CC) $(CFLAGS) $(LFLAGS) -o $@ $(OBJ) $(LIB) -lole32 -luuid
$(LUA_LIB) $(MZSCHEME_LIBDIR) $(MZSCHEME_LIB) $(PYTHONLIB) $(PYTHON3LIB)
$(RUBYLIB)
-
+ $(CC) $(CFLAGS) $(LFLAGS) -o $@ $(OBJ) $(LIB) -lole32 -luuid
$(LUA_LIB) $(MZSCHEME_LIBDIR) $(MZSCHEME_LIB) $(PYTHONLIB) $(PYTHON3LIB)
$(RUBYLIB) -L$(PERLLIBS) -lperl$(PERL_VER)
upx: exes
upx gvim.exe
upx vim.exe
--------------------
I noticed, in your patch on bitbucket.org, that you used -mno-cygwin,
which is already deprecated.
Moreover, I don't think it's a good idea to merge Make_ming.mak and
Make_cyg.mak, since they use different path conventions:
On Make_ming.mak you would write, for example:
PERL=/c/Perl
on Make_cyg.make you write:
PERL=/cygdrive/c/Perl
Regards,
--
Cesar
--
--
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.