Quantcast
Channel: MobileRead Forums - Kindle Developer's Corner
Viewing all articles
Browse latest Browse all 4414

K3 building libglib2-2.30.x with a 5 year old toolchain for the Kindle 3 via buildroot

$
0
0
Okay so building libglib2-2.30.x with a 5 year old toolchain for the Kindle 3 via buildroot.

It didn't work using the CS 2007 q3 TC "out of the box"

so I went dumpster diving into the automake stuff. From what I could tell Configure.ac wasn't allowed to run some inline code.

so I just hardwired the declares that were missing? seems to work fine now.

Took me nearly a month to track down all the issues on-and-off. (oh and learn how to do any of this might I add)

Next question: Why the hell would you do that?

Well, basically to get stuff onto the 3 via BR each supporting structure needs to be in place and that library underpins a lot of juicier stuff.

Long story short. I fixed it.

"Hacked" configure.ac attached.

Hope this helps someone because it was a total bum pain.
cheers. may the fruits of this labour be plentiful.


the file lives in

~/GIT/buildroot-k3-current/output/build/libglib2-2.30.3/

(un tar.gz it first, obviously)

after doing a

make -C ~/GIT/buildroot-k3-current libglib2-extract

just splat it in.

I really must learn to make patches. meh. live with it.
YAY! a big win!

Attached Files
File Type: gz configure.ac.tar.gz (30.4 KB)

Viewing all articles
Browse latest Browse all 4414

Trending Articles