Ernie Rael wrote:
> (BTW: Minor bug in Makefile comment about getting "-O -g" by default.)
I'll remove "-g".
> I'm curious about the "best" way to compile vim. For example,
> can I crank up the optimization to extreme levels?
Sure. Generally more optimization makes compilation slower. Sometimes
a lot slower. This depends on the compiler.
> I can't find any doc for "-fno-strength-reduce".
> Is it historical or for some other compiler?
It is not properly documented. In some versions of gcc the optimizer
had a bug that was avoided by using this argument. This was before
2000, I don't know in what gcc version this was fixed. There are also
comments that removing the option doesn't make the executable faster.
--
GUARD #2: It could be carried by an African swallow!
GUARD #1: Oh, yeah, an African swallow maybe, but not a European swallow,
that's my point.
GUARD #2: Oh, yeah, I agree with that...
The Quest for the Holy Grail (Monty Python)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ 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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20230326202817.7E52D1C05A0%40moolenaar.net.