I just cleaned up a pile of configure issues, and now Gnash can be cross
configured and compiled. I'm adding a more detailed section to the doc
about how to do this, but here's the quick and dirty.
I always build using a separate build tree, so as to leave my source
tree cleaner for doing greps. Now all the autoconf macros look in
$prefix first, so if you have a built arm-linux system on your x86-linux
machine, it looks in the right place by default. Disabling the plugin
eliminates a slew of configure tests that you don't care about if you're
cross compiling to an embedded system.
You need libxml2, libpng, libjpeg, sdl, sdl mixer, opengl, and ogg
development packages built for the target system. I found a great web
site with the most clear directions at:
http://frank.harvard.edu/~coldwell/toolchain/.
After I built up an arm-linux system in /usr/arm, I then cross compiled
all the other libraries I needed. The fun part is trying to get libMesa
to cross compile, because it's not really setup for it...
So to build for an arm based system on an x86 based systems, configure
like this. The default behaviors are usually the best, so you don't
really want to use any other options than these unless you have to.
../gnash/configure CFLAGS=-g CXXFLAGS=-g --target=arm-unknown-linux-gnu
--prefix=/usr/arm --host=arm-unknown-linux-gnu --build=i686-pc-linux-gnu
--disable-plugin
- rob -
_______________________________________________
Gnash mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash