Ken Takata wrote:

> > > 2018/10/16 Tue 8:10:20 UTC+9 Tony Mechelynck wrote:
> > > > On Mon, Oct 15, 2018 at 8:11 PM Bram Moolenaar <b...@moolenaar.net> 
> > > > wrote:
> > > > > Ken Takata wrote:
> > > > > > Is it better to remove -I. from CFLAGS in Make_mvc.mak and add it 
> > > > > > only where
> > > > > > needed like Make_cyg_ming.mak?
> > > > >
> > > > > I think it doesn't hurt.  Perhaps it's also needed for the xdiff 
> > > > > files?
> > > > 
> > > > On Linux, at least (where if_perl.c has lived for ages in the auto
> > > > subdirectory) the compiler command-line starts with
> > > > 
> > > >     gcc -c -I. -Iproto
> > > > 
> > > 
> > > Hm, then it might be better to add -I. to CFLAGS in MinGW for consistency?
> > 
> > OK.  My CFLAGS line has fewer arguments though, did you have local
> > changes?
> 
> Ah, sorry. I had some local changes.
> 
> Using "CFLAGS += -ffunction-sections -fno-asynchronous-unwind-tables" and
> "LFLAGS += -Wl,--gc-sections" can reduce the size of the .exe files about
> 300 KB.  Do you think it is worth to be included?

Smaller is better, but I have no idea what the disadvantages are.

-- 
hundred-and-one symptoms of being an internet addict:
226. You sit down at the computer right after dinner and your spouse
     says "See you in the morning."

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

Raspunde prin e-mail lui