Vim

From Genunix

vim - A popular vi clone that features syntax highlighting, a GUI, and much more

Contents

Rating

4 points (out of 4)

Rating scheme: 4 points means the source builds seamlessly on Solaris Express (OpenSolaris). Points are subtracted as follows:

  • Minus 1 if the source doesn't come with an automated way to localize the build (e.g. configure)
  • Minus 1 if the source won't compile with Sun's cc (this usually means the code is gcc-centric)
  • Minus 1 if a minor patch is required, or
  • Minus 2 if a major patch(es) is required

How to build vim-7.0 on Solaris Express

Build Environment (platform, compiler, tools, PATH, ld)

Configure and compile steps (on x86 hardware)

/usr/bin/bzip2 -dc vim-7.0.tar.bz2 | /usr/sfw/bin/gtar xf -

cd vim70

export CFLAGS="-i -xO4 -xspace -xstrconst -xpentium -mr"
export LDFLAGS="-Wl,-zignore -Wl,-zcombreloc -Wl,-Bdirect"

./configure --prefix=/usr/gnu  \
            --mandir=/usr/gnu/share/man

make

Other configure options

output of ./configure --help

Directory paths that vim installs to

bin
share/man/fr.ISO8859-1/man1
share/man/fr.UTF-8/man1
share/man/fr/man1
share/man/it.ISO8859-1/man1
share/man/it.UTF-8/man1
share/man/it/man1
share/man/man1
share/man/pl.ISO8859-2/man1
share/man/pl.UTF-8/man1
share/man/pl/man1
share/man/ru.KOI8-R/man1
share/man/ru.UTF-8/man1
share/vim/vim70
share/vim/vim70/autoload
share/vim/vim70/autoload/xml
share/vim/vim70/colors
share/vim/vim70/compiler
share/vim/vim70/doc
share/vim/vim70/ftplugin
share/vim/vim70/indent
share/vim/vim70/keymap
share/vim/vim70/lang
share/vim/vim70/macros
share/vim/vim70/macros/hanoi
share/vim/vim70/macros/life
share/vim/vim70/macros/maze
share/vim/vim70/macros/urm
share/vim/vim70/plugin
share/vim/vim70/print
share/vim/vim70/spell
share/vim/vim70/syntax
share/vim/vim70/tools
share/vim/vim70/tutor

Other 3rd party software vim requires

(none)

See also