On 24 April 2012 21:03, Marcin Juszkiewicz marcin.juszkiewicz@canonical.com wrote:
I added Ubuntu 12.04 'precise' based sysroots to Jenkins yesterday. They are built using 'armhf' architecture and available in three flavours:
- alip
- nano
- ubuntu-desktop
So far only -dev ones are present, will work on -dbg ones soon.
We have 'nano' one built and available to fetch at http://snapshots.linaro.org/precise/images/nano-dev/ - rest will be built when there will be machine free to do that.
They will also be moved to http://snapshots.linaro.org/precise/sysroots/ to not make people try to boot them ;)
Please take a look do they work as you want and tell me what kind of changes you would like to have, which images are not needed, which should be added. Are there any users for -dbg style sysroots?
Hi Marcin. I've had a look at nano-dev. Please: * Change the top directory from binary/boot/filesystem.dir/ to libc/ * Remove etc * Remove sbin, bin, usr/bin, usr/sbin * Remove most under var * Remove usr/local? * Reinstate the symlinks - /lib/libply.so should symlink to /lib/libply.so.2 should symlink to /lib/libply.so.2.0.0 etc * Remove empty directories like usr/games * Drop all compiler supplied packages including libgcc libstdc++6 libmudflap
I don't know what to do about usr/share. Most of it isn't need for cross compiling and should be deleted.
Note that it becomes a build root only. You can't use it as a Scratchbox build and target root.
I'd like the sysroot in one tarball and the debug symbols in another. The end user can grab the default sysroot and then, if they want to, add the debug symbols for deeper debugging later.
Could I also have a minimal sysroot that just has libc6 libc6-dev libc6-dbg linux-libc-dev and zlib1g? We'll ship that with the binary compiler. An example is here: http://people.linaro.org/~michaelh/incoming/precise-sysroot-armhf-r0.tar.bz2
which was built using the hack: http://bazaar.launchpad.net/~linaro-toolchain-dev/crosstool-ng/linaro/view/h...
-- Michael