help-nano
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-nano] build nano static for embedded system


From: Eitan Adler
Subject: Re: [Help-nano] build nano static for embedded system
Date: Thu, 02 Apr 2009 21:15:15 -0400
User-agent: Mozilla (X11; U; FreeBSD i386; en-US; ) Gecko Thunderbird Mnenhy/0.7.6.666

M. Frey wrote:
> hi,
> 
> I would like to build a statical (executes without any need of library
> file) nano version.
> 
> The gcc linker would do this with the option --static. How can I do the
> same with make?
in bash:
export CFLAGS="--static"
in csh (I think):
setenv CFLAGS --static
using configure:
$./configure CFLAGS="--static"

All this does is add "--static" to the gcc command line.
I can not guarantee that this will build a static version of nano.

On my system "--static" does not exist in the man page for gcc.
However -static and -static-libgcc do.
Perhaps you meant those?

> 
> Thanks for the help!
> 
> maurus
> 
> 
> _______________________________________________
> Help-nano mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-nano
> 


-- 
Eitan Adler
"Security is increased by designing for the way humans actually behave."
-Jakob Nielsen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]