Cross compiling OpenSSH

Status
Not open for further replies.

amraldo

Advanced Member level 4
Joined
Aug 29, 2004
Messages
1,183
Helped
145
Reputation
290
Reaction score
37
Trophy points
1,328
Location
Egypt
Activity points
5,880
openssh cross compile

AA,
Did any body succeed in cross compiling OpenSSH embedded linux?
BR,
Amr Ali.
 

cross compile openssh

AA,
Do you have a tutorial?
BR,
Amr Ali.
 

cross compiling openssh

ou can use buildroot for that: https://buildroot.uclibc.org/. Otherwise you will have to download ziplib and openssl first and build them, than you can configure openssh and build it.

Command for that is something like:

./configure \
--target=mips-linux-uclibc \
--host=mips-linux-uclibc \
--build=i386-pc-linux-gnu \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--libdir=/lib \
--libexecdir=/usr/sbin \
--sysconfdir=/etc \
--datadir=/usr/share \
--localstatedir=/var \
--mandir=/usr/man \
--infodir=/usr/info \
--includedir=/opt/buildroot-20070820/build_mips_nofpu/staging_dir/usr/include \
--disable-lastlog --disable-utmp \
--disable-utmpx --disable-wtmp --disable-wtmpx \
--without-x \
--disable-nls

assuming mips is your target.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…