bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble with binutils target=hppa1.1-hp-hpux10.20


From: Nick Clifton
Subject: Re: Trouble with binutils target=hppa1.1-hp-hpux10.20
Date: 22 Nov 2001 17:24:53 +0000
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1

Hi Francisco,

> I'm trying to make a gcc cross-compiler with target=hppa1.1-hp-hpux10.20
> on my RedHat Linux 7.0 with kernel 2.2.16-22.
> The first pass is to make the binutils for that target.
> But I have problems with the binutils package.

Which version of the binutils sources are you using ?

> The outputs of the configure and make commands are attached.
> Can you give me the reason that it not works correct ?

Are you referring to this message ?

  *** This configuration is not supported in the following subdirectories:
       ld
      (Any other directories should still work fine.)

The answer is that GNU LD is known not to work correctly under HPUX,
so you should use the native linker instead.

You are probably referring to this message however:

  ../bfd/.libs/libbfd.a(targets.o): In function `find_target':
  bfd/targets.c:1022: undefined reference to `som_vec'
  bfd/targets.c:1022: undefined reference to `som_vec'

som_vec is defined in bfd/som.c.  It is being included in the
_bfd_target_vector array defined in bfd/targets because it is defined
in SELECT_VECS.  This is created by the configure process (see
bfd/configure.in and bfd/config.bfd) and set to the value som_vec
because your target is an hppa-* variant.

The real question is why the compiled som.c is does not contain the
definition of som_vec.  You are going to have to investigate this
yourself.  Is the som.o file empty ?

Cheers
        Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]