m68k-unknown-coff cross failure

Robin Kirkham Robin.Kirkham@mlb.dmt.csiro.au
Mon Dec 1 18:55:00 GMT 1997

On Mon, 01 Dec 1997, Neal Becker wrote:

> I just tried:
> ../../egcs-971127//configure --target=m68k-unknown-coff
> --prefix=/usr/local/m68k 
> on hppa1.1-hp-hpux9 host.

> PATH=/usr/local/m68k/bin:$PATH make
> [....]
> rm -f g77-cross
> cp g77 g77-cross
> rm -f stmp-f2c.h
> ...

You are trying to build the Fortran runtime which is not supported for
the cross-compiler situation.  You can avoid this by making just C and
C++ using:

    make LANGUAGES="c gcov c++" all install

The approved way is to use

    make cross

which does much the same thing. However, when you come to install the
cross-compiler, "make install" or "make cross install" will still try and
build the Fortran runtime, since target "install" depends on "all" (or
equivalent). So I just use the first method.

Jeff, maybe this minor problem (and a better fix, if there is one) could
be mentioned in the new ECGS install document/FAQ?

Robin Kirkham			CSIRO Manufacturing Science and Technology
Project Engineer		Locked Bag 9, Preston 3072, Australia
robin.kirkham@mlb.dmt.csiro.au	Phone: +61 3 9662-7756  Fax: +61 3 9662-7851

More information about the Gcc mailing list