Thread: DIY - KeK
View Single Post
Old 08-10-2012, 09:53 AM   #211
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Updated the Kek_Emu to present toolset - Step by Step

UPDATING THE EMULATOR QUICKLY VIA THIS SITE

These steps outline the general way to update stuff into the emulator with minimal hassle when they are published as attachments on this site.

I update the Emu with all includes by Knc1 with the commands in this post (as of today, the process is a simple one as you will see so simply expand it to your needs)

Code:
(armv6l:1) /home # export PATH=/home/bin:/home/lib:/home/include:/home/share:$PATH

(armv6l:1) /home # echo $PATH
RESULT
Code:
/home/bin:/home/lib:/home/include:/home/share:/bin:/sbin

Code:
(armv6l:1) /home # cd      (just in case)

(armv6l:1) /home # wget -O binutils.tar.gz https://www.mobileread.com/forums/att...7&d=1342813041
RESULT
Code:
(armv6l:1) /home # Connecting to www.mobileread.com (67.205.70.12:80)

[1]+  Done                       wget -O binutils.tar.gz https://www.mobileread.com/forums/att...chmentid=89477
(to check it is actually there)

Code:
(armv6l:1) /home # ls
RESULT
Code:
bin              include          lynx2-8-8        share
binutils.tar.gz  lib              man              src
git              lost+found       path.sh
Code:
(armv6l:1) /home # tar -xvzf ./binutils.tar.gz
RESULT
Spoiler:
Code:
./
./include/
./include/bfd.h
./include/symcat.h
./include/bfdlink.h
./include/dis-asm.h
./include/ansidecl.h
./share/
./share/man/
./share/man/man1/
./share/man/man1/elfedit.1
./share/man/man1/windmc.1
./share/man/man1/size.1
./share/man/man1/strings.1
./share/man/man1/as.1
./share/man/man1/nlmconv.1
./share/man/man1/ar.1
./share/man/man1/dlltool.1
./share/man/man1/strip.1
./share/man/man1/nm.1
./share/man/man1/windres.1
./share/man/man1/objcopy.1
./share/man/man1/ld.1
./share/man/man1/ranlib.1
./share/man/man1/c++filt.1
./share/man/man1/objdump.1
./share/man/man1/gprof.1
./share/man/man1/addr2line.1
./share/man/man1/readelf.1
./share/info/
./share/info/bfd.info
./share/info/as.info
./share/info/standards.info
./share/info/gprof.info
./share/info/configure.info
./share/info/binutils.info
./share/info/ld.info
./lib/
./lib/libiberty.a
./lib/libbfd.la
./lib/libopcodes.a
./lib/libopcodes.la
./lib/libbfd.a
./bin/
./bin/size
./bin/strings
./bin/strip
./bin/objdump
./bin/readelf
./bin/ld.bfd
./bin/addr2line
./bin/elfedit
./bin/as
./bin/ar
./bin/ld
./bin/objcopy
./bin/gprof
./bin/c++filt
./bin/ranlib
./bin/nm
./armv6l-unknown-linux-gnueabi/
./armv6l-unknown-linux-gnueabi/lib/
./armv6l-unknown-linux-gnueabi/lib/ldscripts/
./armv6l-unknown-linux-gnueabi/lib/ldscripts/armelfb_linux_eabi.xd
./armv6l-unknown-linux-gnueabi/lib/ldscripts/armelf_linux_eabi.xw
./armv6l-unknown-linux-gnueabi/lib/ldscripts/armelf_linux_eabi.xu
./armv6l-unknown-linux-gnueabi/lib/ldscripts/armelfb_linux_eabi.xu
./armv6l-unknown-linux-gnueabi/lib/ldscripts/armelf_linux_eabi.xdc
./armv6l-unknown-linux-gnueabi/lib/ldscripts/armelfb_linux_eabi.xr
./armv6l-unknown-linux-gnueabi/lib/ldscripts/armelf_linux_eabi.xsw
./armv6l-unknown-linux-gnueabi/lib/ldscripts/armelfb_linux_eabi.xs
./armv6l-unknown-linux-gnueabi/lib/ldscripts/armelfb_linux_eabi.xdc
./armv6l-unknown-linux-gnueabi/lib/ldscripts/armelfb_linux_eabi.x
./armv6l-unknown-linux-gnueabi/lib/ldscripts/armelf_linux_eabi.xc
./armv6l-unknown-linux-gnueabi/lib/ldscripts/armelf_linux_eabi.x
./armv6l-unknown-linux-gnueabi/lib/ldscripts/armelfb_linux_eabi.xn
./armv6l-unknown-linux-gnueabi/lib/ldscripts/armelf_linux_eabi.xn
./armv6l-unknown-linux-gnueabi/lib/ldscripts/armelfb_linux_eabi.xw
./armv6l-unknown-linux-gnueabi/lib/ldscripts/armelfb_linux_eabi.xc
./armv6l-unknown-linux-gnueabi/lib/ldscripts/armelf_linux_eabi.xdw
./armv6l-unknown-linux-gnueabi/lib/ldscripts/armelf_linux_eabi.xd
./armv6l-unknown-linux-gnueabi/lib/ldscripts/armelf_linux_eabi.xs
./armv6l-unknown-linux-gnueabi/lib/ldscripts/armelf_linux_eabi.xsc
./armv6l-unknown-linux-gnueabi/lib/ldscripts/armelfb_linux_eabi.xsw
./armv6l-unknown-linux-gnueabi/lib/ldscripts/armelf_linux_eabi.xbn
./armv6l-unknown-linux-gnueabi/lib/ldscripts/armelf_linux_eabi.xr
./armv6l-unknown-linux-gnueabi/lib/ldscripts/armelfb_linux_eabi.xbn
./armv6l-unknown-linux-gnueabi/lib/ldscripts/armelfb_linux_eabi.xsc
./armv6l-unknown-linux-gnueabi/lib/ldscripts/armelfb_linux_eabi.xdw
./armv6l-unknown-linux-gnueabi/bin/
./armv6l-unknown-linux-gnueabi/bin/strip
./armv6l-unknown-linux-gnueabi/bin/objdump
./armv6l-unknown-linux-gnueabi/bin/ld.bfd
./armv6l-unknown-linux-gnueabi/bin/as
./armv6l-unknown-linux-gnueabi/bin/ar
./armv6l-unknown-linux-gnueabi/bin/ld
./armv6l-unknown-linux-gnueabi/bin/objcopy
./armv6l-unknown-linux-gnueabi/bin/ranlib
./armv6l-unknown-linux-gnueabi/bin/nm


Code:
(armv6l:1) /home #  wget -O mpc-1.0-uclibc.tar.gz https://www.mobileread.com/forums/att...1&d=1342972453
(wait a mo. then press enter. shell does not always return prompt when completed)
RESULT
Code:
(armv6l:1) /home # Connecting to www.mobileread.com (67.205.70.12:80)
[1]+  Done                       wget -O mpc-1.0-uclibc.tar.gz https://www.mobileread.com/forums/att...chmentid=89551
Code:
(armv6l:1) /home # tar -xzvf mpc-1.0-uclibc.tar.gz
RESULT
Spoiler:
Code:
./
./include/
./include/mpc.h
./share/
./share/info/
./share/info/mpc.info
./lib/
./lib/libmpc.a
./lib/libmpc.so.3
./lib/libmpc.so.3.0.0
./lib/libmpc.la
./lib/libmpc.so


Optionally rm mpc-1.0-uclibc.tar.gz

Code:
(armv6l:1) /home #  wget -O mpfr-3.1.1-uclibc.tar.gz https://www.mobileread.com/forums/att...7&d=1342964860
(wait a mo. then press enter. shell does not always return prompt when completed)
RESULT
Code:
(armv6l:1) /home # Connecting to www.mobileread.com (67.205.70.12:80)
[1]+  Done                       wget -O mpfr-3.1.1-uclibc.tar.gz https://www.mobileread.com/forums/att...chmentid=89547
Code:
(armv6l:1) /home # tar -xzvf mpfr-3.1.1-uclibc.tar.gz
RESULT
Spoiler:
Code:
./
./include/
./include/mpfr.h
./include/mpf2mpfr.h
./share/
./share/info/
./share/info/mpfr.info
./share/doc/
./share/doc/mpfr/
./share/doc/mpfr/TODO
./share/doc/mpfr/AUTHORS
./share/doc/mpfr/NEWS
./share/doc/mpfr/BUGS
./share/doc/mpfr/COPYING
./share/doc/mpfr/COPYING.LESSER
./share/doc/mpfr/examples/
./share/doc/mpfr/examples/sample.c
./share/doc/mpfr/examples/version.c
./share/doc/mpfr/examples/ReadMe
./share/doc/mpfr/examples/rndo-add.c
./share/doc/mpfr/examples/divworst.c
./share/doc/mpfr/FAQ.html
./lib/
./lib/libmpfr.so.4
./lib/libmpfr.a
./lib/libmpfr.so.4.1.1
./lib/libmpfr.la
./lib/libmpfr.so


optionally rm mpfr-3.1.1-uclibc.tar.gz

Code:
(armv6l:1) /home # wget -O gmp-5.0.5-uclibc.tar.gz https://www.mobileread.com/forums/att...9&d=1343076378
(wait a mo. then press enter. shell does not always return prompt when completed)
RESULT
Code:
(armv6l:1) /home # Connecting to www.mobileread.com (67.205.70.12:80)
[1]+  Done                       wget -O gmp-5.0.5-uclibc.tar.gz https://www.mobileread.com/forums/att...chmentid=89619
Code:
(armv6l:1) /home # tar -xzvf gmp-5.0.5-uclibc.tar.gz
RESULT
Spoiler:
Code:
./
./include/
./include/gmp.h
./share/
./share/info/
./share/info/gmp.info
./share/info/gmp.info-1
./share/info/gmp.info-2
./lib/
./lib/libgmp.la
./lib/libgmp.so.10
./lib/libgmp.so
./lib/libgmp.so.10.0.5
./lib/libgmp.a


Optionally rm gmp-5.0.5-uclibc.tar.gz

Code:
(armv6l:1) /home # wget -O m4-1.4.16-armv6-uclibc.tar.gz https://www.mobileread.com/forums/att...8&d=1342724437
(wait a mo. then press enter. shell does not always return prompt when completed)
RESULT
Code:
(armv6l:1) /home # Connecting to www.mobileread.com (67.205.70.12:80)
[1]+  Done                       wget -O m4-1.4.16-armv6-uclibc.tar.gz https://www.mobileread.com/forums/att...chmentid=89418
Code:
(armv6l:1) /home # tar -xzvf m4-1.4.16-armv6-uclibc.tar.gz 
RESULT
Spoiler:
Code:
./
./share/
./share/man/
./share/man/man1/
./share/man/man1/m4.1
./share/info/
./share/info/m4.info
./share/info/m4.info-1
./share/info/m4.info-2
./bin/
./bin/m4


optionally rm m4-1.4.16-armv6-uclibc.tar.gz

(armv6l:1) /home #

So to conclude the process is

cd (just in case)

GET THING:

(name can be anything, link copied from site)

(armv6l:1) /home # wget -O thing.tar.gz https://www.mobileread.com/forums/att...8&d=1342724437

UNPACK THING

(armv6l:1) /home # tar -xzvf thing.tar.gz

REMOVE THING

(armv6l:1) /home # rm thing.tar.gz

UNINSTALL THING
Hmm Delete stuff.. YMMV

Hope this helps someone at some point.
And if anyone knows how to make the links NOT obfuscate via ellipses' that would be awesome : )

Last edited by twobob; 08-10-2012 at 10:38 AM.
twobob is offline   Reply With Quote