Difference between revisions of "HIP:TS-7000:dropbear"

From Earlham CS Department
Jump to navigation Jump to search
(dropbear)
(dropbear ssh server and client)
Line 19: Line 19:
 
* [[http://matt.ucc.asn.au/dropbear/dropbear.html dropbear home]]
 
* [[http://matt.ucc.asn.au/dropbear/dropbear.html dropbear home]]
 
  wget http://matt.ucc.asn.au/dropbear/releases/dropbear-0.49.tar.bz2
 
  wget http://matt.ucc.asn.au/dropbear/releases/dropbear-0.49.tar.bz2
 +
 +
=== compile dropbear ===
 +
export CFLAGS="-Os -static -Wall"
 +
export LDFLAGS="-static"
 +
./configure --host=arm-unknown-linux-gnu --build=arm --disable-zlib
  
 
= Links =
 
= Links =
 
* [http://omnifi.cwtsecure.com/index.php?title=DMP1_SSHD DMP1 SSHD]
 
* [http://omnifi.cwtsecure.com/index.php?title=DMP1_SSHD DMP1 SSHD]
 
* [http://omnifi.cwtsecure.com/index.php?title=Compile_Programs Compile Programs]
 
* [http://omnifi.cwtsecure.com/index.php?title=Compile_Programs Compile Programs]

Revision as of 10:38, 23 May 2007

Compiling

crosstool

download and setup ts crosstool package

  • At the time of this writing, I downloaded Linux Crosstool gcc-4.0.1-glibc-2.3.5 -- unknown (05-20-2006)
ftp://ftp.embeddedarm.com/ts-arm-linux-cd/cross-toolchains/crosstool-linux-gcc-4.0.1-glibc-2.3.5.tar.bz2

move it to / and unpack it

cd /
sudo tar -xf crosstool-linux-gcc-4.0.1-glibc-2.3.5.tar

add it to your path

arm@crow:~$ cat ~/.bash_profile | grep cross
PATH=/opt/crosstool/gcc-4.0.1- glibc-2.3.5/arm-unknown-linux-gnu/bin:${PATH}

dropbear ssh server and client

download dropbear

  • At the time of this writing dropbear was at version 0.49
  • [dropbear home]
wget http://matt.ucc.asn.au/dropbear/releases/dropbear-0.49.tar.bz2

compile dropbear

export CFLAGS="-Os -static -Wall"
export LDFLAGS="-static"
./configure --host=arm-unknown-linux-gnu --build=arm --disable-zlib

Links