304
|
1 From: Bernard Blackham <bernard@blackham.com.au> |
|
2 To: tech@ucc.asn.au |
|
3 Subject: [tech] axis building |
|
4 Date: Mon, 6 Mar 2006 20:05:15 +0800 |
|
5 Message-ID: <20060306120515.GD18471@blackham.com.au> |
|
6 |
|
7 Notes for archiving... this is what you need to build dropbear 0.47. |
|
8 |
|
9 export PATH=/usr/local/cris:$PATH |
|
10 export CFLAGS="-melinux -O3 -s -symbolic -D__uClinux__" |
|
11 |
|
12 ./configure --prefix=/mnt/flash/dropbear --disable-zlib --host=cris |
|
13 |
|
14 make MULTI="1" STATIC="1" PROGRAMS="dropbear dbclient scp" |
|
15 |
|
16 cris-gcc -melinux -s -symbolic -static -o dropbearmulti dbmulti.o atomicio.o |
|
17 bignum.o buffer.o circbuffer.o cli-algo.o cli-auth.o cli-authinteract.o |
|
18 cli-authpasswd.o cli-authpubkey.o cli-channel.o cli-chansession.o cli-kex.o |
|
19 cli-main.o cli-runopts.o cli-service.o cli-session.o cli-tcpfwd.o common-algo.o |
|
20 common-channel.o common-chansession.o common-kex.o common-runopts.o |
|
21 common-session.o compat.o dbutil.o dss.o fake-rfc2553.o listener.o loginrec.o |
|
22 packet.o process-packet.o progressmeter.o queue.o random.o rsa.o scp.o scpmisc.o |
|
23 signkey.o sshpty.o svr-agentfwd.o svr-algo.o svr-auth.o svr-authpam.o |
|
24 svr-authpasswd.o svr-authpubkey.o svr-chansession.o svr-kex.o svr-main.o |
|
25 svr-runopts.o svr-service.o svr-session.o svr-tcpfwd.o svr-x11fwd.o tcp-accept.o |
|
26 termcodes.o libtomcrypt/libtomcrypt.a libtommath/libtommath.a -L |
|
27 /usr/local/cris/lib/gcc-lib/cris/2.96/elinux/ uccrt/*.o |
|
28 |
|
29 [ paste the multiline cris-gcc command with `xargs` - MSH ] |
|
30 |
|
31 There's custom stuff in uccrt/ which should also be archived |
|
32 somewhere. |
|
33 |
|
34 Doesn't work quite yet - needs some hacking to get around a buggy |
|
35 libc. |
|
36 |
305
|
37 |
|
38 ------------------- |
|
39 |
|
40 |
|
41 Or for just dropbear without multi: |
|
42 |
|
43 make STATIC=1 |
|
44 |
|
45 cris-gcc -o dropbear dbutil.o buffer.o dss.o bignum.o signkey.o rsa.o |
|
46 random.o queue.o atomicio.o compat.o fake-rfc2553.o common-session.o packet.o |
|
47 common-algo.o common-kex.o common-channel.o common-chansession.o termcodes.o |
|
48 loginrec.o tcp-accept.o listener.o process-packet.o common-runopts.o |
|
49 circbuffer.o svr-kex.o svr-algo.o svr-auth.o sshpty.o svr-authpasswd.o |
|
50 svr-authpubkey.o svr-session.o svr-service.o svr-chansession.o svr-runopts.o |
|
51 svr-agentfwd.o svr-main.o svr-x11fwd.o svr-tcpfwd.o svr-authpam.o |
|
52 libtomcrypt/libtomcrypt.a libtommath/libtommath.a -melinux -s -symbolic |
|
53 -static -L /usr/local/cris/lib/gcc-lib/cris/2.96/elinux/ uccrt/*.o |