[ale] Compiling ssh

Fulton Green ale at FultonGreen.com
Thu Dec 28 15:39:31 EST 2000


If you look hard enough through GCC help docs, there's probably a switch
mechanism that "turns on" static linking for libraries that follow it until
a "turns off" switch is encountered. The IBM CSet++ compiler had that
feature (I want to say the flags were something like -static and -dynamic).
I had to use it to force static binding of core C++ routines due to
incompatibilites btw versions of AIX.

On Thu, Dec 28, 2000 at 03:35:28PM -0500, Chris Fowler wrote:
> I'm compiling ssh and want to include the functions in libssl that are only
> used in ssh.
> 
> I'm only using th ssh client and lib ssl is too big to include in an
> embedded environment.  Is there a commnad line option for gcc that will
> statically link libssl into ssh and only link those parts that are being
> used?  Not the parts that are not?
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list