cross compiling openssh?

johan.adolfsson at johan.adolfsson at
Wed Oct 24 05:16:29 EST 2001

I have managed to get openssh cross-compiled to our ETRAX100 and
ETRAX100LX chip using either uClibc or glibc.
I posted a patch to a long time ago (2000-12-18) but I guess
it was to ugly to get accepted or something (I'm not an autoconf guy :)

Regarding uC-libc I guess the current CVS is a lot smoother to work with
than what I had back then, but beware of the regex implementation...

Another problem to is to get a random seed worth thne name in an embedded
diskless (but networked) environment.


----- Original Message -----
From: Ray Lehtiniemi <rayl at>
To: Markus Friedl <markus at>
Cc: <openssh-unix-dev at>
Sent: Friday, October 19, 2001 11:12 AM
Subject: Re: cross compiling openssh?

> On Fri, Oct 19, 2001 at 10:10:13AM +0200, Markus Friedl wrote:
> > On Thu, Oct 18, 2001 at 08:48:00PM -0600, Ray Lehtiniemi wrote:
> > > is cross compilation support planned anytime soon?  if not, what's
> > > (technically or otherwise) in making it happen?
> >
> > just do it.
> ok, so no issues except just getting it done, then.
> some more details on my setup.  i am prototyping a cirrus cs89712 (arm720
> based) embedded system using a CDB89712 eval board with:
>   - gcc-2.95.3
>   - linux-2.4-ac-rmk
>   - uClibc-cvs
> i grabbed openssh-2.9.9p2.tar.gz, fudged the AC_TRY_RUN
issues and
> glossed over a few uClibc issues.  this resulted in an executable that
will, in
> theory, at least run.  i'll test it out tomorrow or monday, when i again
have access
> to the devel board.
> some questions:
>   - is cross-compilation considered a "core development effort" or a
>     development effort"?  in other words, which cvs tree am i working
>   - i found the openbsd style(9) guide.  is there a cross-compilation
guide?  are
>     there any particularly good examples of cross-compile autoconfigury
that i
>     should be emulating?
>   - is uClibc considered secure?  how "good" will my sshd be if compiled
>     uClibc?
> thanks
> --
> --------------------------------------------------------------------------
>     Ray Lehtiniemi <rayl at> <rayl at>

More information about the openssh-unix-dev mailing list