This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Mon, Apr 4, 2011 at 5:43 PM, Yann E. MORIN <yann.morin.1998@anciens.enib.fr> wrote: > David, All, > > On Monday 04 April 2011 10:57:39 David Paterson wrote: > >> I'm putting together such a system at the moment, and have most of >> it working now. ?The toolchain is pretty much done, and I just need some >> tweaks to the BSP to finish it off :-) > > Maybe then you could forward your work here, and even coordonate with Sam > on the Leon stuff. ;-) Hi Yann, Sam, and all, Of course I'll be glad to help with anything in that area, although I don't think I've done anything new or different - just followed the instructions for building a cross toolchain and BSP. I didn't use Crosstool, or any other other build tools, but just went through the manual process of building each GCC component. I had some good help on the gcc-help list, especially from Kai Ruottu who helped in me work out the correct (-ish?) configuration options. The BSP is mostly written from scratch, with references to some of the files currently in the Libgloss tree. A lot has been based on the GCC porting guide ("Embed With GNU") plus reading info from people like Bill Gatliff, Jeremy Bennet and others who seem to have done a lot of work in this area. Plus a fair bit of trial and error :-) Since the hardware is "Leon with some extras" my crt0 has quite a lot of additional code to handle this. But the basics of it are pretty standard. For Leon, I'm currently using GCC-4.5.2 built for sparc-elf, and selecting -mcpu=v8, but plan to move up to 4.6 soon, as that has support for the Leon processor, with correct tuning etc. I'm pretty new to working with GCC, and learning as I go, but as I said, I'm happy to share what I've learned over the past few months. To be honest, once I got over the initial learning hurdle, it's been fairly straightforward. Cheers, David P. -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |