(BTW: Minor bug in Makefile comment about getting "-O -g" by default.)
I'm curious about the "best" way to compile vim. For example,
can I crank up the optimization to extreme levels?
-ernie
In the Makefile it has
# When not defined, configure will try to use -O2 -g for gcc and -O
for cc.
#CFLAGS = -g
#CFLAGS = -O
I've added, and put in a prefix ="
+CONF_OPT_GUI = --enable-gui=gtk3
+CONF_OPT_PYTHON3 = --enable-python3interp
Did "make reconfig" gcc is used and the options are
-O2 -fno-strength-reduce -Wall -Wno-deprecated-declarations
No "-g", like having it just in case a core shows up. (Use -g -O0 for
debugging).
gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
I can't find any doc for "-fno-strength-reduce".
Is it historical or for some other compiler?
--
--
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/2b95eccd-1b9a-a003-04ea-b1f3a0cf3d4c%40raelity.com.