[Bug c/42571] internal compiler error: Illegal instruction when handling moon.c file
mikpe at it dot uu dot se
gcc-bugzilla@gcc.gnu.org
Fri Jan 1 19:48:00 GMT 2010
------- 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
More information about the Gcc-bugs
mailing list