Richard Guenther wrote:
On Fri, 30 Nov 2007, Stanislav Brabec wrote:
Richard Guenther probably knows, how to build full cross compiler package. It should be trivial.
Haha - you think so ;) Any target that uses glibc is non-trivial to build a cross-compiler for. At least if you need to bootstrap the target, if you are fine with re-packaging the target native glibc package as a cross-glibc package it will be a lot easier. See the CrossToolchain:sh4 build-service project for an example how to set up a bootstrapable glibc target.
I have been thinking about something much simpler - cross-gcc package with the binary in the path and with needed with required crt*.o files in /usr/lib/gcc/*-suse-linux/4.2.1. Having this, you can start to compile. Now we have only an icecream helper and one has to play with it to get a working cross compiler. First time compiling of glibc is another task. I can look at OpenEmbedded and OpenWrt, how they are bootstrapping the system. They are for sure starting with a clean table, having only native compiler for host platform and few other tools and a lot of sources. -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org