Compile options?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Compile options?

treaves
        Is there a command in vim that will show what the compile options  
for it were?
Reply | Threaded
Open this post in threaded view
|

Re: Compile options?

Chris Devers
On Feb 1, 2007, at 11:11 PM, Timothy Reaves wrote:

> Is there a command in vim that will show what the compile options  
> for it were?

You can always just request the --version info on the command line:


$ /Applications/vim70/Vim.app/Contents/MacOS/Vim --version
VIM - Vi IMproved 7.0 (2006 May 7, compiled May  8 2006 12:56:43)
MacOS X (unix) version
Compiled by Jonathan Cooley <http://macvim.org/OSX>
Huge version with Carbon GUI.  Features included (+) or not (-):
+arabic +autocmd -balloon_eval +browse ++builtin_terms +byte_offset  
+cindent
-clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info  
+comments
+cryptv +cscope +cursorshape +dialog_con_gui +diff +digraphs -dnd -
ebcdic
+emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path  
+find_in_path
+folding -footer +fork() -gettext -hangul_input +iconv +insert_expand  
+jumplist
+keymap +langmap +libcall +linebreak +lispindent +listcmds +localmap  
+menu
+mksession +modify_fname +mouse -mouseshape +mouse_dec -mouse_gpm
-mouse_jsbterm +mouse_netterm +mouse_xterm +multi_byte +multi_lang -
mzscheme
-netbeans_intg -osfiletype +path_extra +perl +postscript +printer  
+profile
+python +quickfix +reltime +rightleft +ruby +scrollbind +signs  
+smartindent
-sniff +statusline -sun_workshop +syntax +tag_binary +tag_old_static
-tag_any_white +tcl +terminfo +termresponse +textobjects +title -toolbar
+user_commands +vertsplit +virtualedit +visual +visualextra +viminfo  
+vreplace
+wildignore +wildmenu +windows +writebackup -X11 -xfontset -xim -xsmp
-xterm_clipboard -xterm_save
    system vimrc file: "$VIM/vimrc"
      user vimrc file: "$HOME/.vimrc"
       user exrc file: "$HOME/.exrc"
   system gvimrc file: "$VIM/gvimrc"
     user gvimrc file: "$HOME/.gvimrc"
     system menu file: "$VIMRUNTIME/menu.vim"
   fall-back for $VIM: "/Applications/Vim.app/Contents/Resources/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MAC -fno-
common -fpascal-strings -Wall -Wno-unknown-pragmas -mdynamic-no-pic -
pipe -I. -Iproto -DMACOS_X_UNIX -no-cpp-precomp -I/Developer/SDKs/
MacOSX10.4u.sdk/Developer/Headers/FlatCarbon  -g -O -isysroot /
Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc    -g -pipe  -
DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/
include  -I/System/Library/Perl/5.8.6/darwin-thread-multi-2level/
CORE  -I/System/Library/Frameworks/Python.framework/Versions/2.3/
include/python2.3 -I/System/Library/Frameworks/Tcl.framework/Headers  
-D_REENTRANT=1  -D_THREAD_SAFE=1  -I/usr/lib/ruby/1.8/universal-
darwin8.0
Linking: gcc   -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -
arch ppc -o Vim -framework Carbon      -lncurses  -liconv   -L/usr/
local/lib /System/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/
DynaLoader/DynaLoader.a -L/System/Library/Perl/5.8.6/darwin-thread-
multi-2level/CORE -lperl -lm -lc -framework Python -framework Tcl -
framework CoreFoundation -lruby -lobjc


--
Chris Devers