From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FHlyZ-0007pZ-BV for garchives@archives.gentoo.org; Fri, 10 Mar 2006 18:04:31 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5.20060308/8.13.5) with SMTP id k2AI2rv6012809; Fri, 10 Mar 2006 18:02:53 GMT Received: from pproxy.gmail.com (pproxy.gmail.com [64.233.166.182]) by robin.gentoo.org (8.13.5.20060308/8.13.5) with ESMTP id k2AI2qje019666 for ; Fri, 10 Mar 2006 18:02:52 GMT Received: by pproxy.gmail.com with SMTP id d42so430942pyd for ; Fri, 10 Mar 2006 10:02:51 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Pphkh+dIjX4olEx92QQlt2hDedzy06M87XnPt1hsnI/WIea8AKbDeEg4uAKB7eGY3T5wD5w+0nnoJeIg0Oorf4FQAWHpss+mLQ9/Uw6SZcnw2QC7gjG0ih1U+U4hQr8zBd+wmWR7MbGB8UAan0USyBpdVnEkk1vrTHqMyRSlD7Q= Received: by 10.65.243.10 with SMTP id v10mr1525852qbr; Fri, 10 Mar 2006 10:02:50 -0800 (PST) Received: by 10.65.158.15 with HTTP; Fri, 10 Mar 2006 10:02:49 -0800 (PST) Message-ID: <6f3edef40603101002x61ca7b86v981ea5d31e770740@mail.gmail.com> Date: Fri, 10 Mar 2006 12:02:49 -0600 From: "Eric G Ortego" To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] Multi target cross emerge wrapper In-Reply-To: <1141679606.10616.166.camel@onyx> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <1141679606.10616.166.camel@onyx> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k2AI2qje019666 X-Archives-Salt: 7fb88cda-0ad1-4a6a-9135-acd93fe120a6 X-Archives-Hash: 986abecbf4c00b6172cbcde05f8e4475 On 3/6/06, solar wrote: > Hey I've been playing around with mega x-compiling all last week. > I mass merged every cross compiler crossdev can build at this time. > http://tinderbox.x86.dev.gentoo.org/cross-x86/ > I've actually got a crontab setup that will auto merge new cross > compilers as they become available. I am building from powerpc-unknown-linux-gnu-3.4.4 and so far I have had crossdev build only: arm-creole-linux-uclibc-3.4.5 i386-creole-linux-gnu-3.4.5 i386-creole-linux-uclibc-3.4.5 > I've got a little script to also automate much of the process of > figuring out what is the right x-compiler settings and what > variables should be set. > I'd appreciate it if a few of you could take it for a spin and give > me feedback. I altered it to change the location of ROOT & PKGDIR and It has been working well for me. Mabe i am misunderstanding its purpose but when I tried to use cmerge --libc --target i386-creole-linux-gnu It was unable to build glibc for that target. It looks like its trying to x-compile cross-i386-creole-linux-gnu/glibc-2.3.6-r3 instead of sys-libs/glibc. Though I don't think that matters much. Calculating dependencies ...done! >>> emerge (1 of 1) cross-i386-creole-linux-gnu/glibc-2.3.6-r3 to /var/distros/creole-linux-glibc/i386/ Ive have also tried: cmerge --target i386-creole-linux-gnu sys-libs/glibc and get an identical error This is the error ... checking installed Linux kernel header files... TOO OLD! configure: error: GNU libc requires kernel header files from Linux 2.0.10 or later to be installed before configuring. The kernel header files are found usually in /usr/include/asm and /usr/include/linux; make sure these directories use files from Linux 2.0.10 or later. This check uses , so make sure that file was built correctly when installing the kernel header files. To use kernel headers not from /usr/include/linux, use the configure option --with-headers. Must mean that glibc needs virtual/os-headers so I tried to built them for that target... cmerge --target i386-creole-linux-gnu virtual/os-headers sys-libs/glibc Yay! It worked! > It has a few quarks with merging virtuals and so on but thats not easy > to solve as long as portage itself depends on /etc/make.profile > symlinks. I've had some success getting around make.profile by making a broken symlink. rm /etc/make.profile && ln -s /etc/make.profile /etc/make.profile At the moment Portage doesn't seem to mind but I suppose that could change... -- gentoo-embedded@gentoo.org mailing list