This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


> 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