On 1/24/12 10:08 AM, Jonathan Andrews wrote:

> Also from previous builds:
> 
> bash-4.2/bashline.c:2105: warning: Using 'endservent' in statically linked 
> applications requires at runtime the shared libraries from the glibc version 
> used for linking
> 
> WTF ! Words fail me, I bet some c++ lover has made this mess for
> me ..... I feel so old..... take me back to 1986, a happy time ....
> 
> Is it even possible to build a statically linked bash?
> I've done it before but that was in the land time forget, around kernel
> 2.4.24, when gcc started with a "3." and worked :-( ggrrrrr

It's possible but has varying degrees of difficulty on different systems.
It's not possible at all on Mac OS X, requires a mix of static and
dynamic linking on Solaris and Linux, and is probably possible (though I
have not tried recently) on the BSDs.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to