View Single Post
Old 11-02-2012, 11:11 PM   #1
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: 6299991
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
Thumbs up building libglib2-2.30.x with a 5 year old toolchain for the Kindle 3 via buildroot

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, 306 views)

Last edited by twobob; 11-02-2012 at 11:46 PM. Reason: (oh and learn how to do any of this might I add)
twobob is offline   Reply With Quote