m68k-coff target build problem with gcc-2.7.2.2 , binutils-2.8.1.

Brian Witt (aleks@spoda.gentoo.com)
Fri, 25 Jul 1997 16:21:01 -0700


> I'm getting the following error while trying to build gcc-2.7.2.2 for an
> m68k-coff target.  Can anyone please help?

Ahh yess, the famous 2.7.2.x-compiler-generates-m68020-instruction-during-
optimization-that-upsets-the-assembler phonenmum.  Obviously aliens
are at work here.

Easy fix is to use GCC2.7 instead.  Other fix is to add a flag
to the compiler "make"...

	% make TARGET_LIBGCC2_CFLAGS=-O0
	
This eliminates the error during optimization in floatdixf() by turning
off all optimization during libgcc2.c compiling.


If you still have problems, email me.


--- The railroad train will arrive no more.
--- brian witt