Quote:
Originally Posted by ihor
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
https://wiki.mobileread.com/wiki/Tools_Index#Development
So: Start here:
https://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!