------- Comment #4 from mikpe at it dot uu dot se  2010-01-01 19:48 -------
(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.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42571

Reply via email to