From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-embedded+bounces-3577-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1OzCeh-00043c-OI
	for garchives@archives.gentoo.org; Fri, 24 Sep 2010 18:05:56 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 6AC0AE0805
	for <garchives@archives.gentoo.org>; Fri, 24 Sep 2010 18:05:55 +0000 (UTC)
Received: from gw1.transmode.se (gw1.transmode.se [213.115.205.20])
	by pigeon.gentoo.org (Postfix) with ESMTP id 7C7E4E04AB
	for <gentoo-embedded@lists.gentoo.org>; Fri, 24 Sep 2010 17:43:52 +0000 (UTC)
Received: from sesr04.transmode.se (sesr04.transmode.se [192.168.201.15])
	by gw1.transmode.se (Postfix) with ESMTP id CCF852597E0
	for <gentoo-embedded@lists.gentoo.org>; Fri, 24 Sep 2010 19:43:51 +0200 (CEST)
In-Reply-To: <201009241301.27356.vapier@gentoo.org>
References: <OFEAAA581A.BC31360E-ONC12577A8.0056DED2-C12577A8.00580406@transmode.se> <201009241301.27356.vapier@gentoo.org>
Subject: Re: [gentoo-embedded] crossdev improvements
X-KeepSent: E481497D:61270B13-C12577A8:005F2E9B;
 type=4; name=$KeepSent
To: gentoo-embedded@lists.gentoo.org
X-Mailer: Lotus Notes Release 8.5.2 August 10, 2010
Message-ID: <OFE481497D.61270B13-ONC12577A8.005F2E9B-C12577A8.00613C50@transmode.se>
From: Joakim Tjernlund <joakim.tjernlund@transmode.se>
Date: Fri, 24 Sep 2010 19:42:04 +0200
X-MIMETrack: Serialize by Router on sesr04/Transmode(Release 8.5.2 HF23|September 01, 2010) at
 2010-09-24 19:43:51
Precedence: bulk
List-Post: <mailto:gentoo-embedded@lists.gentoo.org>
List-Help: <mailto:gentoo-embedded+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-embedded+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-embedded+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-embedded.gentoo.org>
X-BeenThere: gentoo-embedded@lists.gentoo.org
Reply-to: gentoo-embedded@lists.gentoo.org
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
X-Archives-Salt: c2900c31-c789-4a4f-9bcc-b3aa6f644923
X-Archives-Hash: 609894eda8604f7656695995e9b601b9

Mike Frysinger <vapier@gentoo.org> wrote on 2010/09/24 19:01:26:
>
> On Friday, September 24, 2010 12:01:21 Joakim Tjernlund wrote:
> > - make crossdev respect PORTAGE_CONFIGROOT. We use our own portage
> >   tree for our pkgs, including the compiler, as we want to be able
> >   to recreate/rebuild the same sw versions in the future.
>
> i dont know what this means.  crossdev doesnt touch PORTAGE_CONFIGROOT at all.

Exactly, it uses hardcoded paths to /etc et. all instead of PORTAGE_CONFIGROOT/etc

>
> > - a switch to control softfloat instead of encoding this in vendor
> >   name. The cross name is getting too long with softfloat in it.
>
> except that softfloat checks go beyond the cross-compiler and packages in the
> tree need to be able to query support.  unless you have a clean way of
> handling this, there is no alternative.

packages in the tree? I figured that only gcc and glibc(possibly binutils too)
needed that info?

I just tried to use EXTRA_ECONF=--without-fp instead of softfloat
and it seems to have worked, at least gcc and glibc builds without FPU insn's

hmm, wonder if COLLECT_GCC_OPTIONS could be used to see if softfloat is on?

>
> > - make crossdev build a binary cross compiler pkg which can be
> >   emerged by other machines.
>
> crossdev is merely a frontend to emerge.  so do it yourself:
>    crossdev ... --portage -B ...

That works? Guess I have to try it then :)
However, the sauna is waiting for me ATM so it will have to wait ..

 Jocke