View Single Post
Old 09-16-2012, 11:24 AM   #73
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,552
Karma: 6021146
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
the lowdown, oh tinkery one ;)

Quote:
Originally Posted by ihor View Post
if anyone can point me to a normal guide which would allow me to start development under kindle platform - I'd be grateful.

Yeah. pretty much, you need (your a windows dude so the windows version) CodeSourcery Toolchain 2006q3 (or 2007q3)

An IDE that can use that is helpful.

Some source code, Some flags would be nice for the dx for cpp.

Quote:
export ARCH_FLAGS="-march=armv6j -mtune=arm1136jf-s -mfpu=vfp"
export CFLAGS="-fno-stack-protector -O2 -ffast-math ${ARCH_FLAGS} -pipe -fomit-$
export CXXFLAGS="-fno-stack-protector" CPPFLAGS="-U_FORTIFY_SOURCE"
export HOST=i686-pc-linux
export BUILD=arm-unknown-linux-gnueabi
#export LDFLAGS="-static"
You will have to find the architecture flags for the DX - those are for a 3.

Then either use the IDE, or command line, to x-compile some code.

That's it really, the resulting exe will just work AS-IS, assuming you use the TC I suggest. Use readelf or something to check your library requirements.

I have notes on getting the resulting bins to dynamically load libraries at runtime from FAT, should you end up including libs. Obviously a nice self contained exe is easiest (but rarely possible with 3rd party code)

There should be a whole bunch of posts from me (and possibly others) asking (possibly stupid) questions about this subject. Have a you have a search around if you want a laugh

Here's the wiki for MobileRead on it http://wiki.mobileread.com/wiki/Tools_Index#Development


So: Start here: http://www.mobileread.com/forums/sho...d.php?t=181068 The Kindle envronment Kit

Public repository of command files and documentation:
http://hg.minimodding.com/repos/embed/kek.hg/
'hg clone' the above address for a local copy.
Changes available via RSS and ATOM feeds.

Tools, Image filters, Image profiles, Eclipse-CDT, ...
(I.E: files that don't need source control):
http://drpbox.knetconnect.com/KeK
('wget --mirror' is ok, just don't do it too often. No rsync available.)

And see where that gets you

Great to have you excited about the device. It can do incredible things if we make it!

Last edited by twobob; 09-16-2012 at 11:26 AM. Reason: Trying to make the English clearer
twobob is offline   Reply With Quote