[maemo-developers] [maemo-developers] Scratchbox is not an emulator
From: Koen Kooi koen at dominion.kabel.utwente.nlDate: Wed Aug 30 11:40:58 EEST 2006
- Previous message: [maemo-developers] Scratchbox is not an emulator
- Next message: [maemo-developers] Scratchbox is not an emulator
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Eero Tamminen schreef: <snip> > 1. cross-configure Autotools (autoconf, automake etc) > using Linux desktop software, nor tried to > 2. cross-build Debian packages > > 1) Is something that only OpenEmbedded provides in addition to Sbox > and even with OE, you need to create a specific recipe for the package > build to succeed (I think). For problems with SW using Autotools, see: > http://www.scratchbox.org/documentation/general/tutorials/explained.html To expand a bit on that: in OE it should be a matter of doing 'inherit autotools'[1][2], but that only works if people didn't hand edit the generated configure file afterwards or include bogus macros in aclocal.m4. And once you enter the realm of crosscompiling you will notice that people make stupid assumptions[3] and do -I/usr/include into the Makefile.{am,in}, and guess what, the arm-gcc compiler chokes on x86 asm from that headers. Scratchbox makes life easy for developers since it's the closest thing you'll get to native *compiling* you'll get on your workstation. If you want to thoroughly test it, you can't escape using the device (with or without cpu transperency), and you still have to package the stuff yourself. If you just want to have a package, OE would be right for you, if you want to develop 'natively', scratchbox is the way to go, but there is no 'click this button to do everything' solution yet. Koen [1] http://www.openembedded.org/user-manual&dpage=ch02s04 [2] http://www.openembedded.org/user-manual&dpage=ch07#autotools_class [3] http://www.openembedded.org/repo/org.openembedded.dev/packages/gimp/gimp_2.3.10.bb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFE9U8aMkyGM64RGpERAlDvAJ9RtXXmbPED5tU+EfflfGLl147emgCffHF8 3DY7gW97phjpqLjhCFQyAPs= =mcVQ -----END PGP SIGNATURE-----
- Previous message: [maemo-developers] Scratchbox is not an emulator
- Next message: [maemo-developers] Scratchbox is not an emulator
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]