[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-nano] compiling nano statically
From: |
Jordi Mallach |
Subject: |
Re: [Help-nano] compiling nano statically |
Date: |
Fri, 18 Jul 2003 14:18:01 +0200 |
User-agent: |
Mutt/1.5.4i |
Hi dave,
On Sat, Jul 05, 2003 at 09:43:28AM -0400, dave wrote:
> This may be impossible, certainly repeated google searches have not
> turned up the answer, but here goes. I'm running several different types of
> Unix machines, Linux, FreeBSD, and Solaris. I'd like to statically compile
> nano on one of each type of machine then drop the single executable on the
> other boxes. I've tried this only on FreeBSD adding -static to the nano port
> makefile, but that still did not produce the desired results. Basically,
> here are the options i want:
> --disable-mouse
> --enable-multibuffer
> --enable-nanorc
> and i'm not sure what this one does:
> --enable-all
> If anyone has any input i'd appreciate it.
What's the problem, really? I just did "make CFLAGS="-O2 -Wall -static"
and I got a static nano binary:
-rwxr-xr-x 1 jordi jordi 900797 Jul 18 14:16 nano
65568:address@hidden:~/cvs/nano/HEAD$ ldd nano
not a dynamic executable
Jordi
--
Jordi Mallach Pérez -- Debian developer http://www.debian.org/
address@hidden address@hidden http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/~jordi/
pgpSJy79RuyOn.pgp
Description: PGP signature