------- Comment #2 from mikpe at it dot uu dot se  2009-12-31 00:53 -------
(In reply to comment #0)
> When compiling m68k-elf the process went
> smoothly and I can install (m68k-elf-as, m68k-elf-ar, etc.). But this
> time I can not compile gcc 4.4.1 or 4.4.2 (m68k-elf-gcc) because I
> get an error stating problems with libgcc.mvars:
...
> Makefile:143: ../.././gcc/libgcc.mvars: No such file or directory
> make[2]: *** No rule to make target `../.././gcc/libgcc.mvars'.  Stop.
> make[2]: Leaving directory
> `/home/miltoncsl/Documents/coldfire/gcc-4.4-4.4.1.orig/gcc-4.4.1/m68k-elf/libgcc'
> make[1]: *** [all-target-libgcc] Error 2
> make[1]: Leaving directory
> `/home/miltoncsl/Documents/coldfire/gcc-4.4-4.4.1.orig/gcc-4.4.1'
> make: *** [all] Error 2

I can reproduce this, but only by doing the build in the source directory
itself. Never ever do that with gcc. Doing the build in a separate object
directory and configuring with --target=m68k-unknown-elf --disable-libssp I'm
easily able to build gcc-4.4.2 as cross-compiler to m68k-unknown-elf on
i686-linux.

This PR should be closed as invalid.


-- 


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

Reply via email to