View Single Post
Old 09-27-2013, 09:37 PM   #29
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@brianinmaine: Wanting to link against "the Kindle's libraries" is a good idea in theory, but in practice, the libraries (at link-time) don't dictate much, the headers do, and amazon doesn't ship headers in their FW (not unlike a binary Linux distro, which is why you have a -dev/-devel package for each package) .

So, if you *really* want to link against the same stuff, you'll need to replicate the Kindle sysroot *with* the development files (the headers). (ie. cross-compile the exact same versions of what you care about as the device you target).

Fortunately for us, we can get away with building against newer/older stuff, as long as we're building against something that is ABI compatible with what the Kindle runs. That's where API/ABI, sover & symbol versionning come into play, and you start to dig into the inner workings of the ELF binary format.

Last edited by NiLuJe; 09-27-2013 at 09:39 PM.
NiLuJe is offline   Reply With Quote