On czw, 2011-03-03 at 09:04 +1300, Michael Hope wrote:
It's funny how things happen at the same time. I've been asked a few times about how to compile Linaro GCC so I started this page a few days ago: https://wiki.linaro.org/WorkingGroups/ToolChain/Using
The goal is to describe how to build the toolchain outputs such as GCC and GDB in common configurations such as native or cross.
I see four classes of users:
- Toolchain hackers who know how to build the product and start from source
- Mid-level engineers who have experience with Unix tools and want
to know how to build from source 3. Integrators who want a supported build script that automates everything but that they can customise 4. End users who just want a binary
(1) is fine as they look after themselves. (2) will be covered by the 'Using' pages. (3) is along the lines of my cross-build[1] Makefile. (4) is in Marcin's queue[2], but there's no technical reason that Linaro couldn't use the scripts from Marcin or item 3 to do an official binary tarball that targets the Linaro evaluation builds. Note that we're not set up to support end users directly so having a product like ARM's DS-5 between the working group and end users would be good.
This is all new, unplanned work. I'm going to do (3) in the background and turn it into a product as it will save me time overall, but we should discuss 2, 3, and 4 for the next cycle. Yves, can I suggest you bring this up at the next TSC meeting?
[1] https://code.launchpad.net/~michaelh1/+junk/cross-build [2] https://launchpad.net/ubuntu/+spec/other-linaro-n-cross-compilers
We need to make a product from your makefile and host it in official bzr branch. I have own copy [3] which has some improvements (you got it by email).
Current situation is like this:
1. Debian users can grab non-Linaro cross toolchains from Emdebian team 2. Ubuntu 10.10/11.04 users have Linaro cross toolchain in archive 3. Ubuntu 10.04/10.10 users can use Linaro toolchain backport PPA [4] which contains natty versions (will be updated in next week) 4. We can build binary tarballs using Michael's makefile [1][3] but resulting toolchain requires some host libraries. In OpenEmbedded we solved this problem by shipping all of them in tarball. But this would require some hacking time.
[3] https://code.launchpad.net/~hrw/+junk/cross-build [4] https://launchpad.net/~linaro-maintainers/+archive/toolchain