|
NokiaBuildInstructions
Specific build instructions for the Nokia Internet Tablet (OS2006+)
Building Einstein for the Nokia Internet Tablet on MacOS XTo build Nokia binaries, you need a cross compiler. The previous method was to use the official Maemo SDK (scratchbox compilers) under Linux. The trick was to pass -I and -L options to the compilers or run them inside the scratchbox chroot (but in this case, you need to put Jam in the chroot). I did not find this very convenient, especially considering that I had to run Linux inside VMWare Fusion... You can now directly build compatible cross compilers with MacPorts.
sudo port install arm-none-linux-gnueabi-gcc You can find more details about the compilation process in the general BuildInstructions. NotesThe default JIT Target (ARMLE) doesn't work yet. It compiles, but then Einstein crashes. This is why you have to mention -sjittarget=GENERIC in the command line. I believe that the Nokia 800 with OS2007 has a different version of libXau. It's now libXau.so.6 instead of libXau.so.0. The above method will compile against libXau.so.0 (which I directly copied from a Nokia 770 with OS2006), and therefore the binary will not run. I would be grateful if someone with a Nokia 800 and OS2007 could check that and possibly fix the problem by either:
|
Sign in to add a comment
If you get an error installing arm-none-linux-gnueabi-gcc about iconv_close being an undefined symbol:
Edit /opt/local/var/macports/sources/rsync.macports.org/release/ports/cross/arm-none-linux-gnueabi-gcc/Portfile
Change:
configure.cc "cc -no-cpp-precomp"
To:
configure.cc "cc -no-cpp-precomp -I${prefix}/include"
(learned from: http://www.nabble.com/-16662:-arm-none-linux-gnueabi-gcc-error-td19694093.html )
I can confirm that replacing libXau.so.0 with libXau.so.6 gives you a binary that will run on an N800 running OS2008 (Diablo). But I don't think I know enough about Jam to submit a competent patch.
I just copied /usr/lib/libXau.so.6 off the device into maemo2006/usr/lib of Einstein, and replaced the reference to .so.0 in the Jamfile.