<br><br><br><div class="gmail_quote">2009/7/20 Peter Stuge <span dir="ltr">&lt;<a href="mailto:peter@stuge.se">peter@stuge.se</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Mike Frysinger wrote:<br>
&gt; &gt; &gt;&gt; Mmm, iam using FPGA emulation board  ML402 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 Linux.<br>
&gt;<br>
&gt; and what is their tuple exactly ?<br>
<br>
</div>info:<br>
<a href="http://www.gaisler.com/cms/index.php?option=com_content&amp;task=view&amp;id=63&amp;Itemid=31" target="_blank">http://www.gaisler.com/cms/index.php?option=com_content&amp;task=view&amp;id=63&amp;Itemid=31</a><br>

<br>
downloads:<br>
<a href="http://www.gaisler.com/cms/index.php?option=com_content&amp;task=view&amp;id=160&amp;Itemid=108" target="_blank">http://www.gaisler.com/cms/index.php?option=com_content&amp;task=view&amp;id=160&amp;Itemid=108</a><br>

<a href="ftp://gaisler.com/gaisler.com/linux/linux-2.6/toolchains/sparc-linux-3.4.4/" target="_blank">ftp://gaisler.com/gaisler.com/linux/linux-2.6/toolchains/sparc-linux-3.4.4/</a><br>
<a href="ftp://gaisler.com/gaisler.com/linux/linux-2.6/toolchains/sparc-uclinux-3.4.4/" target="_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="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="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;.  you tell emerge what<br>
&gt; toolchain to use and it uses it.  there is no requirement of &quot;the<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="#888888"><br>
<br>
//Peter<br>
</font></blockquote></div><br>O, thanks, but i know alrady about gaisler&#39;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 
catch this thing..<br clear="all"><br>-- <br>Thanks,<br>Sergey<br>