Hi guys,

 I'm trying to compile a static VIM so that I can launch it every where (On
machines with different Linux distributions and library versions).

 I got it to link statically by passing in the LDFLAGS at configure
time like this (I add CFLAGS to avoid the -g flag):

env CFLAGS="-O2" \
LDFLAGS="-static" \
./configure \
--prefix=/usr/local \
--disable-nls \
--without-x \
--disable-gui \
--disable-gpm \
--with-features=big


However, The binary produced is not static (linked *.so dynamically). How to
compile ti into a static one??

Please help, much thanks!

--Delian

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui