After Vim is installed, we don't need to use our normal Linux system anymore to "dress up" our LFS system. This means that you from now on no longer need to reboot your computer into the normal Linux system and back to the LFS system.
In order to install Vim we need to have the ncurses libraries installed.
configure --with-sharedBecause Ncurses isn't 100% correct according to the latest C standard, we need to compile it with gcc2723
make CC=/usr/gcc2723/bin/gccmake install.datamake installVim comes in two separate parts: A 'src' package and a 'rt' (run-time) package. You need both in order to install vim. If you put both archives in the same directory, the unpacked files of both archives will appear in the same directory that will be created when you unpack the first (it doesn't matter which one you unpack first).
configureAlso Vim doesn't compile with gcc 2.95.2, so we have to compile it with gcc 2.7.2.3 as well.
make CC=/usr/gcc2723/bin/gccmake install