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-3073-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1MLXn0-0001eb-RT
	for garchives@archives.gentoo.org; Tue, 30 Jun 2009 07:30:03 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 76BFAE06B3;
	Tue, 30 Jun 2009 07:30:01 +0000 (UTC)
Received: from mail-fx0-f211.google.com (mail-fx0-f211.google.com [209.85.220.211])
	by pigeon.gentoo.org (Postfix) with ESMTP id 3E0F2E06B3
	for <gentoo-embedded@lists.gentoo.org>; Tue, 30 Jun 2009 07:30:01 +0000 (UTC)
Received: by fxm7 with SMTP id 7so56413fxm.34
        for <gentoo-embedded@lists.gentoo.org>; Tue, 30 Jun 2009 00:30:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlemail.com; s=gamma;
        h=domainkey-signature:mime-version:received:in-reply-to:references
         :date:message-id:subject:from:to:content-type
         :content-transfer-encoding;
        bh=D7NRW4Z6Uha6EZVefHz/FLIJp2mQZ4Yrf7OSQhp2XVs=;
        b=OywaPNeeORT2nS/H29VBumaJawvbb2tfplcwfq3xsmEtQ/SazYG7OcTfvT/rYzgM8s
         OazCV0iFXlRk/6dXSTvfBh+pZYJhAn+VTlcf1U6nJdlLgKRAQp1NXPAAs7zL8koDfkCU
         5XkomHSQIlmm8BqdL7JtJ+hszoOtE3So+lnA8=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=googlemail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        b=JAVjE1Rm9oUoW1O8xNuCiAo51/g7ipgGh9fEZd1yYh0ozjIY8k/ec8H6dAJLGGRv7q
         QPTtMwga6bNIx5D0KFN/pa3cOYyXT9S3i5gRE9RXl2J3vIiVwlurKpdTU/2gYzLRje8R
         L/FA4kMG8lA6R8MjqZWypLwM/i70h31SdCAps=
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
Received: by 10.204.51.137 with SMTP id d9mr4226690bkg.160.1246347000510; Tue, 
	30 Jun 2009 00:30:00 -0700 (PDT)
In-Reply-To: <C977FA1845860B44B84CF9A5FCD54FFB03586531@psi-exch2.planningsystems.local>
References: <C977FA1845860B44B84CF9A5FCD54FFB03586531@psi-exch2.planningsystems.local>
Date: Tue, 30 Jun 2009 09:30:00 +0200
Message-ID: <3dc1583f0906300030x6539d425g528cbd15c0783ef@mail.gmail.com>
Subject: Re: [gentoo-embedded] arm11 tool chain
From: Sven Rebhan <odinshorse@googlemail.com>
To: gentoo-embedded@lists.gentoo.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Archives-Salt: 00a08495-0edc-43c5-a780-6c2dd1b2da5d
X-Archives-Hash: 19445ac1a3f6bda153e66cc954d8e7c3

2009/6/29 Melton, Jason <jason.melton@plansys.com>:
Hey!

> http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX31).  To
> build for this embedded processor would I use:
>
> arm-unknown-linux-gnu

Reading the webpage linked it seems like that thing has a hardware FPU,
so you can use your suggestion. However,  arm-unknown-linux-gnu will
procude ARM OABI code. You might also want to try

arm-unknown-linux-gnueabi

to use ARM EABI instead. See

http://www.gentoo.org/proj/en/base/embedded/handbook/index.xml?part=1&chap=3

Furthermore according to
http://www.arm.com/products/CPUs/ARM1136JF-S.html
http://gcc.gnu.org/onlinedocs/gcc-4.3.3/gcc/ARM-Options.html#ARM-Options

I would use

-march=armv6j -mtune=arm1136jf-s

in the CFLAGS.

Have fun!

    Sven