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-3125-garchives=archives.gentoo.org@lists.gentoo.org>)
	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 <gentoo-embedded@lists.gentoo.org>; Mon, 20 Jul 2009 21:32:44 +0000 (UTC)
Received: by fxm24 with SMTP id 24so1232082fxm.34
        for <gentoo-embedded@lists.gentoo.org>; 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: <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.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: <aa09d86e0906182313h6f985d1aud7c5bd05eb475b0d@mail.gmail.com>
	 <20090624161330.11295.qmail@stuge.se>
	 <aa09d86e0907010140u484cd76dob305fbac13f2f5f6@mail.gmail.com>
	 <200907191418.55635.vapier@gentoo.org>
	 <20090720193321.1908.qmail@stuge.se>
Date: Tue, 21 Jul 2009 01:32:43 +0400
Message-ID: <aa09d86e0907201432m3d5368f5se1fed3af5d712af2@mail.gmail.com>
Subject: Re: [gentoo-embedded] sparcv8 gcc
From: =?KOI8-R?B?88XSx8XKIO3J0s/Oz9c=?= <ierton@gmail.com>
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 <peter@stuge.se>

> 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

<br><br><br><div class=3D"gmail_quote">2009/7/20 Peter Stuge <span dir=3D"l=
tr">&lt;<a href=3D"mailto:peter@stuge.se">peter@stuge.se</a>&gt;</span><br>=
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class=3D"im">Mike Frysinger wrote:<br>
&gt; &gt; &gt;&gt; Mmm, iam using FPGA emulation board =A0ML402 with LEON3 =
cpu and<br>
&gt; &gt; &gt;&gt; Gaisler&#39;s IP-blocks.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Gaisler has a toolchain, right? Does that work?<br>
&gt; &gt;<br>
&gt; &gt; Yes, gaisler toochain works fine with gaisler&#39;s Snapgear Linu=
x.<br>
&gt;<br>
&gt; and what is their tuple exactly ?<br>
<br>
</div>info:<br>
<a href=3D"http://www.gaisler.com/cms/index.php?option=3Dcom_content&amp;ta=
sk=3Dview&amp;id=3D63&amp;Itemid=3D31" target=3D"_blank">http://www.gaisler=
.com/cms/index.php?option=3Dcom_content&amp;task=3Dview&amp;id=3D63&amp;Ite=
mid=3D31</a><br>

<br>
downloads:<br>
<a href=3D"http://www.gaisler.com/cms/index.php?option=3Dcom_content&amp;ta=
sk=3Dview&amp;id=3D160&amp;Itemid=3D108" target=3D"_blank">http://www.gaisl=
er.com/cms/index.php?option=3Dcom_content&amp;task=3Dview&amp;id=3D160&amp;=
Itemid=3D108</a><br>

<a href=3D"ftp://gaisler.com/gaisler.com/linux/linux-2.6/toolchains/sparc-l=
inux-3.4.4/" target=3D"_blank">ftp://gaisler.com/gaisler.com/linux/linux-2.=
6/toolchains/sparc-linux-3.4.4/</a><br>
<a href=3D"ftp://gaisler.com/gaisler.com/linux/linux-2.6/toolchains/sparc-u=
clinux-3.4.4/" target=3D"_blank">ftp://gaisler.com/gaisler.com/linux/linux-=
2.6/toolchains/sparc-uclinux-3.4.4/</a><br>
<br>
I guess the tuples are simply sparc-linux and sparc-uclinux.<br>
<div class=3D"im"><br>
<br>
&gt; do they apply custom patches ?<br>
<br>
</div>Don&#39;t know, but they have just one toolchain for all targets.<br>
<br>
--8&lt;-- (the first info page url up there)<br>
LINUX support for LEON2 and LEON3 is provided through a special<br>
version of the SnapGear Embedded Linux distribution. SnapGear Linux<br>
is a full source package, containing kernel, libraries and<br>
application code for rapid development of embedded Linux systems. The<br>
LEON port of SnapGear supports both MMU and non-MMU LEON<br>
configurations, as well as the optional V8 mul/div instructions and<br>
floating-point unit (FPU). The port include symetric multi-processing<br>
(SMP) support for LEON3 systems with multiple processors. A single<br>
cross-compilation tool-chain is provided which is capable of<br>
compiling the kernel and applications for any configuration.<br>
--&gt;8--<br>
<div class=3D"im"><br>
<br>
&gt; &gt; but is there an easy way to attach their precompiled gcc and<br>
&gt; &gt; binutils to gentoo crossbuild system? Hmm..<br>
&gt;<br>
&gt; there isnt a &quot;gentoo crossbuild system&quot;. =A0you tell emerge =
what<br>
&gt; toolchain to use and it uses it. =A0there is no requirement of &quot;t=
he<br>
&gt; toolchain must have been installed with crossdev&quot;.<br>
<br>
</div>So it seems their toolchain could easily be used.<br>
<font color=3D"#888888"><br>
<br>
//Peter<br>
</font></blockquote></div><br>O, thanks, but i know alrady about gaisler&#3=
9;s toolchain. Compiler works
well and generates nice sparcv8-softfloat binaries. Also i&#39;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&#39;t=A0
catch this thing..<br clear=3D"all"><br>-- <br>Thanks,<br>Sergey<br>

--001636c59879daab03046f29e0b2--