<div>I use Fedora FEL for the prepackaged gEDA suite. Recently, I needed to compile C code for an embedded ARM processor, the Cortex-M3. While FEL/Fedoras Extra ships with an *arm-gp2x* tool chain, and another for *avr* it does not have an *arm-elf* toolchain.</div>
<div><br></div><div>It was fairly easy to modify the avr-gdb.spec, avr-gcc.spec and avr-binutils.spec files found online from the Fedora public build CVS (eg. at <a href="http://cvs.fedoraproject.org/viewvc/rpms/avr-gdb/F-11/">http://cvs.fedoraproject.org/viewvc/rpms/avr-gdb/F-11/</a> ) to work for arm-elf, then build RPMs using rpmbuild. I removed a few avr specific patches, and upgraded binutils version to a later release to produce valid code for the cortex architecture (there were some fixes to the ARM call veneers in the last 12 months). These packages contain an arm-elf-gcc which accepts &quot;-mcpu=cortex-m3 -mthumb&quot; arguments.</div>
<div><br></div><div>It seems worthwhile to submit these SPEC files for consideration for the FEL repositories. It would be great next time to have this pre-packaged, working on the assumption FEL might be more appropriate than Fedora Extras to carry them.</div>
<div><br></div><div>The SPEC files (and FC11 RPMs) are on my blog at <a href="http://www.shucksmith.co.uk">www.shucksmith.co.uk</a> [1]. I would be happy to add them to the FEL CVS and look after keeping the packages building if this is an option. While I have no connection to either the gcc/gdb/binutils developers or FEL, I would still like to try and maintain them.</div>
<div><br></div><div>Chris</div><div><br></div><div>[1] <a href="http://www.shucksmith.co.uk/blog/olimexstm32-h103olimexjtagusbminifedoralinux11-programflash">http://www.shucksmith.co.uk/blog/olimexstm32-h103olimexjtagusbminifedoralinux11-programflash</a></div>
<div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>