Difference between revisions of "Vim"

From ArmadeusWiki
Jump to: navigation, search
(New page: I'm trying to install vim on apf9328, then I will explain on this page the story. == Source == The source of vim can be found on the official site here [http://www.vim.org/download.php#u...)
 
m (Compiling)
Line 5: Line 5:
 
The source of vim can be found on the official site here [http://www.vim.org/download.php#unix]. I downloaded it and unpacked on my /opt/ directory.
 
The source of vim can be found on the official site here [http://www.vim.org/download.php#unix]. I downloaded it and unpacked on my /opt/ directory.
 
  tar -jxvf vim-7.2.tar.bz2
 
  tar -jxvf vim-7.2.tar.bz2
 +
 +
== Libraries ==
 +
 +
To be functional, vim need libc and ncurse. NCurse can be installed via buildroot in menu ''Package Selection for the target -> Graphic libraries and applications (graphic/text) -> ncurse''. Once compiled, simply copy libncurses.a and libncurses.so on your /usr/lib/ target rootfs directory.
 +
 +
buildroot/project_build_arm/armadeus/root/usr/lib/libncurses.a
 +
buildroot/project_build_arm/armadeus/root/usr/lib/libncurses.so
  
 
== Compiling ==
 
== Compiling ==

Revision as of 23:12, 5 November 2008

I'm trying to install vim on apf9328, then I will explain on this page the story.

Source

The source of vim can be found on the official site here [1]. I downloaded it and unpacked on my /opt/ directory.

tar -jxvf vim-7.2.tar.bz2

Libraries

To be functional, vim need libc and ncurse. NCurse can be installed via buildroot in menu Package Selection for the target -> Graphic libraries and applications (graphic/text) -> ncurse. Once compiled, simply copy libncurses.a and libncurses.so on your /usr/lib/ target rootfs directory.

buildroot/project_build_arm/armadeus/root/usr/lib/libncurses.a
buildroot/project_build_arm/armadeus/root/usr/lib/libncurses.so

Compiling

The first problem is to know how cross-compile vim on x86 platform for arm platform.

There is a mail to explain how to do that here [2], I'm reading it and I will try this.