On Sat, Sep 11, 2010, Michael Hope wrote:
A wrapper script works fine but I need a way of recompiling libgcc for the Cortex-M series. I'd love to get a arm-none-eabi toolchain package out of this that others could use. Could I re-work the cross packaging to use newlib and change the configure flags instead? Are there existing Debianised cross packages that I could reuse?
Back when I was reinventing the wheel creating cross-compiler packages (lp:~lool/+junk/cross-toolchain) I had support for newlib; the same approach as the one hrw took would work, albeit with some patching to the newlib packaging. It would be awesome to extend his work to be able to just declare "armel + newlib for cortex-m1" in the cross-toolchain packages which we'd just have to add to a PPA :-)
I didn't think this through fully though, and I expect it's more work than a manually rolled toolchain