This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

Re: GCC 2.95 installation trouble on LinuxPPC Release 5


At 18:04 13.08.99 , arigo@planetquake.com wrote:
>Hello,
>
>I had troubles in compiling the GCC 2.95 on my Release 5 LinuxPPC system on an
>iMac : 'ld' doesn't support the emulation mode 'elf32ppclinux'.
>
>I got 'ld' from the latest version of the binutils
>(ftp://ftp.varesearch.com/pub/support/hjl/binutils/binutils-2.9.1.0.25.tar. 
>gz);
>it is ld version 2.9.1 and supports the emulation mode 'elf32ppc' but not
>'elf32ppclinux'. The GCC code tries to compile against emulation mode
>'elf32ppclinux', as described in 'gcc/ChangeLog' :
>
> >Mon May 31 09:36:11 1999  Cort Dougan  <cort@cs.nmt.edu>
> >
> >              * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
>
>I made it work by cancelling this change : with 'elf32ppc' instead of
>'elf32ppclinux' in 'gcc/config/rs6000/linux.h', I could compile GCC 2.95.
>
>I guess some more code in the configure scripts is needed to know when to use
>which one of the emulation modes...
>
>In case it changes anything I'm installing gcc-2.95.tar.bz2 from the
>ftp://egcs.cygnus.com server with the options '.../configure --enable-shared
>--prefix=/usr'. I installed binutils with exactly the same options.

You need binutils-2.9.4.0.8 or newer on Linux/PPC. You can grab it from 
<ftp://devel.linuxppc.org/users/fsirl/R5/RPMS/ppc/>.

Franz.


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