[ffbc9152] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-temp-system-vim" role="wrap">
|
---|
| 9 | <?dbhtml filename="vim.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Vim-&vim-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-temp-system-vim">
|
---|
| 14 | <primary sortas="a-Vim">Vim</primary>
|
---|
| 15 | <secondary>temporary system</secondary>
|
---|
| 16 | </indexterm>
|
---|
| 17 |
|
---|
| 18 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 19 | href="../../final-system/common/vim.xml"
|
---|
| 20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
| 21 |
|
---|
| 22 | <sect2 role="installation">
|
---|
| 23 | <title>Installation of VIM</title>
|
---|
| 24 |
|
---|
| 25 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 26 | href="../../final-system/common/vim.xml"
|
---|
| 27 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
| 28 |
|
---|
| 29 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 30 | href="../../final-system/common/vim.xml"
|
---|
| 31 | xpointer="xpointer(//*[@os='p1'])"/>
|
---|
| 32 |
|
---|
| 33 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 34 | href="../../final-system/common/vim.xml"
|
---|
| 35 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
| 36 |
|
---|
[878afd8] | 37 | <para os="c1">The <command>configure</command> script is full of logic
|
---|
[58598c1] | 38 | that aborts at the first sign of cross compiling. Work around this by
|
---|
| 39 | setting the cached values of several tests with the following
|
---|
| 40 | command:</para>
|
---|
[ffbc9152] | 41 |
|
---|
| 42 | <screen os="c2"><userinput>cat > src/auto/config.cache << "EOF"
|
---|
| 43 | vim_cv_getcwd_broken=no
|
---|
| 44 | vim_cv_memmove_handles_overlap=yes
|
---|
| 45 | vim_cv_stat_ignores_slash=no
|
---|
| 46 | vim_cv_terminfo=yes
|
---|
| 47 | vim_cv_tgent=zero
|
---|
| 48 | vim_cv_toupper_broken=no
|
---|
| 49 | vim_cv_tty_group=world
|
---|
| 50 | ac_cv_sizeof_int=4
|
---|
| 51 | EOF</userinput></screen>
|
---|
| 52 |
|
---|
[878afd8] | 53 | <para os="b">Change the default location of
|
---|
| 54 | the <filename>vimrc</filename> configuration file to <filename
|
---|
| 55 | class="directory">/tools/etc</filename>:</para>
|
---|
[ffbc9152] | 56 |
|
---|
| 57 | <screen os="c"><userinput>echo '#define SYS_VIMRC_FILE "/tools/etc/vimrc"' >> src/feature.h</userinput></screen>
|
---|
| 58 |
|
---|
| 59 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 60 | href="../../final-system/common/vim.xml"
|
---|
| 61 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
| 62 |
|
---|
[c3cd569a] | 63 | <screen os="e"><userinput>CPPFLAGS="-DUNUSED=" ./configure \
|
---|
| 64 | --build=${CLFS_HOST} --host=${CLFS_TARGET} \
|
---|
| 65 | --prefix=/tools --enable-multibyte --enable-gui=no \
|
---|
| 66 | --disable-gtktest --disable-xim --with-features=normal \
|
---|
| 67 | --disable-gpm --without-x --disable-netbeans \
|
---|
| 68 | --with-tlib=ncurses</userinput></screen>
|
---|
[ffbc9152] | 69 |
|
---|
| 70 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 71 | href="../../final-system/common/vim.xml"
|
---|
| 72 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 73 |
|
---|
| 74 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 75 | href="../../final-system/common/vim.xml"
|
---|
| 76 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
| 77 |
|
---|
| 78 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 79 | href="../../final-system/common/vim.xml"
|
---|
| 80 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
| 81 |
|
---|
| 82 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 83 | href="../../final-system/common/vim.xml"
|
---|
| 84 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
| 85 |
|
---|
| 86 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 87 | href="../../final-system/common/vim.xml"
|
---|
| 88 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
| 89 |
|
---|
| 90 | <screen os="m"><userinput>ln -sv vim /tools/bin/vi</userinput></screen>
|
---|
| 91 |
|
---|
| 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | <sect2 role="content">
|
---|
| 95 | <title/>
|
---|
| 96 |
|
---|
| 97 | <para>Details on this package are located in <xref
|
---|
| 98 | linkend="contents-vim" role="."/></para>
|
---|
| 99 |
|
---|
| 100 | </sect2>
|
---|
| 101 |
|
---|
| 102 | </sect1>
|
---|