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.60)
	(envelope-from <gentoo-embedded+bounces-1323-garchives=archives.gentoo.org@gentoo.org>)
	id 1GSyjO-0002ed-19
	for garchives@archives.gentoo.org; Thu, 28 Sep 2006 16:27:26 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8SGPp8E027967;
	Thu, 28 Sep 2006 16:25:51 GMT
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8SGPmGc005417
	for <gentoo-embedded@lists.gentoo.org>; Thu, 28 Sep 2006 16:25:51 GMT
Received: from localhost (localhost [127.0.0.1])
	by smtp.gentoo.org (Postfix) with ESMTP id 60D2564A62
	for <gentoo-embedded@lists.gentoo.org>; Thu, 28 Sep 2006 16:25:48 +0000 (UTC)
X-Virus-Scanned: amavisd-new at gentoo.org
X-Spam-Score: -2.591
X-Spam-Level: 
X-Spam-Status: No, score=-2.591 required=5.5 tests=[AWL=0.008,
	BAYES_00=-2.599]
Received: from smtp.gentoo.org ([127.0.0.1])
	by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 4zOCqBmfn8ll for <gentoo-embedded@lists.gentoo.org>;
	Thu, 28 Sep 2006 16:25:41 +0000 (UTC)
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183])
	by smtp.gentoo.org (Postfix) with ESMTP id 14F0E64818
	for <gentoo-embedded@gentoo.org>; Thu, 28 Sep 2006 16:25:40 +0000 (UTC)
Received: from [217.50.16.225] (helo=[192.168.127.23])
	by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis),
	id 0ML29c-1GSyhT0upl-0008SU; Thu, 28 Sep 2006 18:25:37 +0200
Message-ID: <451BF87F.6050500@chaintronics.com>
Date: Thu, 28 Sep 2006 18:29:51 +0200
From: Daniel Glaser <daniel.glaser@chaintronics.com>
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
Precedence: bulk
List-Post: <mailto:gentoo-embedded@lists.gentoo.org>
List-Help: <mailto:gentoo-embedded+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-embedded+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-embedded+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-embedded.gentoo.org>
X-BeenThere: gentoo-embedded@gentoo.org
Reply-to: gentoo-embedded@lists.gentoo.org
MIME-Version: 1.0
To: gentoo-embedded@lists.gentoo.org
Subject: [gentoo-embedded] CFLAGS and binutils
X-Enigmail-Version: 0.94.0.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit
X-Provags-ID: kundenserver.de abuse@kundenserver.de login:4cc27ca83b14abde777718edda4865f3
X-Archives-Salt: 95c64f85-ccc7-406a-83f8-e82698e474f7
X-Archives-Hash: c6b6d52cddacd1f64949c6d7683bb91c

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Hi vapier,

in Bug http://bugs.gentoo.org/show_bug.cgi?id=149398 you said, that
I'm mistaken with CFLAGs in the role of cross-compilers.

OK, describing what I want:

I have two directories

ROOT=/usr/powerpc-softfloat-linux-uclibc (This is, where the toolchain
did go)
PORTAGE_CONFIGROOT=/var/ppceb

in /var/ppceb/etc/make.conf
CFLAGS="-Os -mcpu=405 -mtune=405 -fomit-frame-pointer -pipe"
CHOST="powerpc-softfloat-linux-uclibc"
CBUILD="i686-pc-linux-gnu"
CTARGET="powerpc-softfloat-linux-uclibc"

ACCEPT_KEYWORDS="-* ppc"

when I do a
ROOT="..so.." PORTAGE_CONFIGROOT="..so.." emerge binutils


It compiles some things with i686-pc-linux-gnu, where the problem
comes up, that it crashes, because gcc doesn't know -mcpu=405 and
- -mtune=405

You said before, that everything regarding libs should go there...
Tell me if I'm wrong, but when I put everything there and strip down
everything later or do a later emerge on the needed packages to
another ROOT, everything should be fine.

- -themole
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFFG/h+LA0LfkMzpGMRApjxAJ9bX9jzHIaSQ+CW25cmkvqqSmsM9QCfb3G+
RlC7hVOkCWPlxhFNr97n4K8=
=LNc2
-----END PGP SIGNATURE-----

-- 
gentoo-embedded@gentoo.org mailing list