View Single Post
Old 06-17-2011, 12:45 PM   #1
mark03
Enthusiast
mark03 began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Jun 2011
Device: Kindle 3 wifi
Cross-compilation question--building directfb

Yesterday I used niluje's excellent cross-compilation guide to set up crosstool-ng and generate a toolchain for my K3. I was able to build a simple printf("hello, world\n") app, copy it to my Kindle, and run it successfully from a shell. Thanks guys!

Now I would like to try some framebuffer test code linked against Amazon's modified directfb. So I need to build, with the xc toolchain, directfb and its library dependencies (like freetype). I have Amazon's 3.2.1 source release. Most of these source distributions are set up to use autoconf configure scripts. If I set the proper environment variables, should autoconf "just work" automatically with my arm-gnueabi toolchain? How hard is it to build these guys so I can link against directfb?

(I could use the raw framebuffer, of course, but the application I have in mind would really benefit from font support. I'd rather not have to create my own typeface rasters!)
mark03 is offline   Reply With Quote