This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/42571] internal compiler error: Illegal instruction when handling moon.c file
- From: "badcloud56 at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Jan 2010 19:57:07 -0000
- Subject: [Bug c/42571] internal compiler error: Illegal instruction when handling moon.c file
- References: <bug-42571-18621@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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