Ticket #136 (new feature request)

Opened 1 year ago

Last modified 3 months ago

Vim temp system

Reported by: jciccone Assigned to: clfs-commits@lists.cross-lfs.org.
Priority: trivial Milestone: CLFS Standard 1.2.0
Component: BOOK Version: CLFS Standard SVN
Keywords: vim temp-system Cc:

Description

Add a optional step to build vim in the temp system.

Change History

02/28/08 05:21:51 changed by kb0iic

I do agree with this, and it was brought up a while ago in the IRC channel. In chapter 10 to verify edits done to files, it would be very good to use vim (or some other editor) to view changes rather than grep for the changes or cat and then look through the changes, especially for specs. I suggest vim go into the temp tools so an editor other than a stream editor is available in chapter 10 while building the system. I often find myself opening another terminal to connect then go to the file in the /mnt/clfs hierarchy to check with the host editor.

Any input...?

William

02/28/08 23:09:11 changed by jciccone

  • version changed from CLFS Standard 1.2.0 to CLFS Standard 1.1.0.
  • milestone changed from CLFS Standard 1.2.0 to CLFS Standard 1.1.0.

I'd love todo this aswell. I havn't tested any methods of building Vim yet. But I'm assuming that it can't be too much different from sysroot.

Apply the cross_compilation patch from the sysroot book.

echo '#define SYS_VIMRC_FILE "/tools/etc/vimrc"' >> src/feature.h
./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    --prefix=/tools --enable-multibyte --enable-gui=no \
    --disable-gtktest --disable-xim --with-features=normal \
    --disable-gpm --without-x --disable-netbeans \
    --with-tlib=ncurses
make
make install
ln -s vim /tools/bin/vi

Then we just need to create a basic vimrc, probably the same one that's suggested in the final system.

I'm pushing up to clfs 1.1.0 from 1.2.0. This is something that should work fairly well thanks to clfs sysroot.

03/21/08 11:59:28 changed by jciccone

  • type changed from task to feature request.

07/04/08 17:02:39 changed by jciccone

  • version changed from CLFS Standard 1.1.0 to CLFS Standard 1.2.0.
  • milestone changed from CLFS Standard 1.1.0 to CLFS Standard 1.2.0.

Bumping back up to 1.2.0

08/31/08 16:53:21 changed by jciccone

  • version changed from CLFS Standard 1.2.0 to CLFS Standard SVN.