------- Comment #5 from badcloud56 at yahoo dot com 2010-01-01 19:57 ------- (In reply to comment #4) > (In reply to comment #3) > > Try this patch, from debian. It corrects arm-eabi to choose an > > armv4t-compatible arm9tdmi as the default cpu type. Otherwise it may > > generate > > armv5t code, which is consistent with your illegal instruction problem." > > ---- > > Thanks, but seeing as this is my first time patching what I can assume to be > > the gcc binary file, how do I actually *do* it (i.e. which commands)? > > The patch is for the gcc source code, to be applied with the `patch' utility. > If you're uncomfortable patching the gcc source code, you can instead try > adding "--with-arch=armv4t" when configuring gcc before you build it. > Thanks. I'll pass it on to the right people, since I'm not savvy enough and because I installed gcc from a package (can't compile the compiler without a compiler, right? ;)
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42571