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 ) id 1MT0TV-0005Nt-TU for garchives@archives.gentoo.org; Mon, 20 Jul 2009 21:32:46 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D6A3E014C; Mon, 20 Jul 2009 21:32:44 +0000 (UTC) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by pigeon.gentoo.org (Postfix) with ESMTP id 38470E014C for ; Mon, 20 Jul 2009 21:32:44 +0000 (UTC) Received: by fxm24 with SMTP id 24so1232082fxm.34 for ; Mon, 20 Jul 2009 14:32:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=NqZOUhBSr70tLLFizRRSjaTUyLSuOTc5goxDTAJ2opM=; b=JKZxphT6b9w/4oR6iaYnlgSZ+TE2Ps2pngh8MlhvGmHcQkro1uiypadoPO0cwiTJtY VIF8k1LIAVGpIX9F/0uVEdcO4jeI0UoeGAgAWPxfcHDq7pUhaT+3TskXK6mF9uo5eRCc kV69/TzzYtEXtndctUiFyiGQvjDUoVy9tTpHE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=vCQIx61KCfEaiCyEX9yK/8LgRrRODenA2GYzpS6y2NJvh25opj3Fd8r7RNrSeCmVXb 1TVz8P7c6jRG1gTYanAJx6vIi1LDDq62iWs8U2vipAWfJxncxZ/eXcTR8k8poEWRKTJd Xh9EVabCwyzlBT66WUjy1EODnJ6Cw5Pdcag+E= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Received: by 10.223.122.141 with SMTP id l13mr1631271far.99.1248125563611; Mon, 20 Jul 2009 14:32:43 -0700 (PDT) In-Reply-To: <20090720193321.1908.qmail@stuge.se> References: <20090624161330.11295.qmail@stuge.se> <200907191418.55635.vapier@gentoo.org> <20090720193321.1908.qmail@stuge.se> Date: Tue, 21 Jul 2009 01:32:43 +0400 Message-ID: Subject: Re: [gentoo-embedded] sparcv8 gcc From: =?KOI8-R?B?88XSx8XKIO3J0s/Oz9c=?= To: gentoo-embedded@lists.gentoo.org Content-Type: multipart/alternative; boundary=001636c59879daab03046f29e0b2 X-Archives-Salt: 59fc1c05-fedc-4c7c-ab42-fb9fb3922adb X-Archives-Hash: 4893fa6bf7712edcfae213bde40ca106 --001636c59879daab03046f29e0b2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 2009/7/20 Peter Stuge > Mike Frysinger wrote: > > > >> Mmm, iam using FPGA emulation board ML402 with LEON3 cpu and > > > >> Gaisler's IP-blocks. > > > > > > > > Gaisler has a toolchain, right? Does that work? > > > > > > Yes, gaisler toochain works fine with gaisler's Snapgear Linux. > > > > and what is their tuple exactly ? > > info: > > http://www.gaisler.com/cms/index.php?option=com_content&task=view&id=63&Itemid=31 > > downloads: > > http://www.gaisler.com/cms/index.php?option=com_content&task=view&id=160&Itemid=108 > ftp://gaisler.com/gaisler.com/linux/linux-2.6/toolchains/sparc-linux-3.4.4/ > > ftp://gaisler.com/gaisler.com/linux/linux-2.6/toolchains/sparc-uclinux-3.4.4/ > > I guess the tuples are simply sparc-linux and sparc-uclinux. > > > > do they apply custom patches ? > > Don't know, but they have just one toolchain for all targets. > > --8<-- (the first info page url up there) > LINUX support for LEON2 and LEON3 is provided through a special > version of the SnapGear Embedded Linux distribution. SnapGear Linux > is a full source package, containing kernel, libraries and > application code for rapid development of embedded Linux systems. The > LEON port of SnapGear supports both MMU and non-MMU LEON > configurations, as well as the optional V8 mul/div instructions and > floating-point unit (FPU). The port include symetric multi-processing > (SMP) support for LEON3 systems with multiple processors. A single > cross-compilation tool-chain is provided which is capable of > compiling the kernel and applications for any configuration. > -->8-- > > > > > but is there an easy way to attach their precompiled gcc and > > > binutils to gentoo crossbuild system? Hmm.. > > > > there isnt a "gentoo crossbuild system". you tell emerge what > > toolchain to use and it uses it. there is no requirement of "the > > toolchain must have been installed with crossdev". > > So it seems their toolchain could easily be used. > > > //Peter > O, thanks, but i know alrady about gaisler's toolchain. Compiler works well and generates nice sparcv8-softfloat binaries. Also i've compiled kernel successfully. Snapgear linux (as a whole) is #$% imho. Works bad. The question is - how to intergate nice compiler with emerge. I feel that it should be easy, but still can't catch this thing.. -- Thanks, Sergey --001636c59879daab03046f29e0b2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable


2009/7/20 Peter Stuge <peter@stuge.se>
=
Mike Frysinger wrote:
> > >> Mmm, iam using FPGA emulation board =A0ML402 with LEON3 = cpu and
> > >> Gaisler's IP-blocks.
> > >
> > > Gaisler has a toolchain, right? Does that work?
> >
> > Yes, gaisler toochain works fine with gaisler's Snapgear Linu= x.
>
> and what is their tuple exactly ?

info:
http://www.gaisler= .com/cms/index.php?option=3Dcom_content&task=3Dview&id=3D63&Ite= mid=3D31

downloads:
http://www.gaisl= er.com/cms/index.php?option=3Dcom_content&task=3Dview&id=3D160&= Itemid=3D108
ftp://gaisler.com/gaisler.com/linux/linux-2.= 6/toolchains/sparc-linux-3.4.4/
ftp://gaisler.com/gaisler.com/linux/linux-= 2.6/toolchains/sparc-uclinux-3.4.4/

I guess the tuples are simply sparc-linux and sparc-uclinux.


> do they apply custom patches ?

Don't know, but they have just one toolchain for all targets.

--8<-- (the first info page url up there)
LINUX support for LEON2 and LEON3 is provided through a special
version of the SnapGear Embedded Linux distribution. SnapGear Linux
is a full source package, containing kernel, libraries and
application code for rapid development of embedded Linux systems. The
LEON port of SnapGear supports both MMU and non-MMU LEON
configurations, as well as the optional V8 mul/div instructions and
floating-point unit (FPU). The port include symetric multi-processing
(SMP) support for LEON3 systems with multiple processors. A single
cross-compilation tool-chain is provided which is capable of
compiling the kernel and applications for any configuration.
-->8--


> > but is there an easy way to attach their precompiled gcc and
> > binutils to gentoo crossbuild system? Hmm..
>
> there isnt a "gentoo crossbuild system". =A0you tell emerge = what
> toolchain to use and it uses it. =A0there is no requirement of "t= he
> toolchain must have been installed with crossdev".

So it seems their toolchain could easily be used.


//Peter

O, thanks, but i know alrady about gaisler= 9;s toolchain. Compiler works well and generates nice sparcv8-softfloat binaries. Also i've compiled = kernel successfully. Snapgear linux (as a whole) is #$% imho. Works bad. The question is - how to intergate nice compiler with emerge. I feel that it should be easy, but still can't=A0 catch this thing..

--
Thanks,
Sergey
--001636c59879daab03046f29e0b2--