Compiling 970924 snapshout on redhat4.2 PPRO to target 68k-coff

Jim Wilson wilson@cygnus.com
Tue Sep 30 15:55:00 GMT 1997


	But then I tried compiling for 68k-coff target, and got this include
	error message.

The Objective C and Fortran run-time libraries won't build for a cross
compiler.  The easiest solution is to not build them.  You can do this by
using the toplevel `make cross' target, or by using LANGUAGES="c c++" on the
make command line which says to build only the C and C++ language support.

This will eventually be fixed by moving these runtime libraries out of
the gcc directory and into toplevel directories of their own.  This is how
the C++ runtime library already works.

	Note I have no problem's compiling up the standard GNU gcc (just tried
	2.7.2.3 worked fine)

This I don't understand.  gcc 2.7.2.3 should be no different than egcs in this
regard, e.g. the objective C runtime won't build for a cross.  This isn't
something egcs broke.  It has always been broken.

Jim



More information about the Gcc-bugs mailing list