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