cross compiling openssh?
johan.adolfsson at axis.com
johan.adolfsson at axis.com
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 configure.in 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.
/Johan
----- Original Message -----
From: Ray Lehtiniemi <rayl at otii.com>
To: Markus Friedl <markus at openbsd.org>
Cc: <openssh-unix-dev at mindrot.org>
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
involved
> > > (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 configure.in 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
"portability
> development effort"? in other words, which cvs tree am i working
against?
>
> - 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
against
> uClibc?
>
>
>
> thanks
>
> --
> --------------------------------------------------------------------------
-
> Ray Lehtiniemi <rayl at mail.com> <rayl at otii.com>
>
More information about the openssh-unix-dev
mailing list