This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: HPUX PA LINK_SPEC change (HP linker & shared libs)
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: ross dot alexander at uk dot neceur dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 1 Oct 2002 09:31:23 -0700 (PDT)
- Subject: Re: HPUX PA LINK_SPEC change (HP linker & shared libs)
> Where do you the +Accept TypeMismatch from?
> My copy of ld does like it at all.
>
> /usr/ccs/bin/ld:
> HP aC++ B3910B A.03.30 Classic Iostream Library
> HP aC++ B3910B A.03.30 Language Support Library
> ld_msgs.cat: $Revision: 1.85 $
> 92453-07 linker command s800.sgs ld PA64 B.11.32 REL 020412
This version of ld should understand it, but it is only understood in 64
bit mode. The most likely problem is that somehow the 32 bit ld got
called instead of the 64 bit one. /usr/ccs/bin/ld will call the "real"
64 bit linker (/usr/ccs/lbin/ld64) if the first object it sees is a 64
bit object. What does your link line look like?
Steve Ellcey
sje@cup.hp.com