From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robin Kirkham To: egcs@cygnus.com Subject: Re: m68k-unknown-coff cross failure Date: Mon, 01 Dec 1997 18:55:00 -0000 Message-id: <19971202025445.4672.qmail@ragnarok.mlb.dmt.csiro.au> References: X-SW-Source: 1997-12/msg00070.html 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