This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: making ld2
- To: piyush_g at yahoo dot com
- Subject: Re: making ld2
- From: Geoff Keating <geoffk at cygnus dot com>
- Date: Thu, 4 May 2000 12:21:59 -0700
- CC: binutils at sourceware dot cygnus dot com
- References: <20000504105233.13293.qmail@web109.yahoomail.com>
> Date: Thu, 4 May 2000 03:52:33 -0700 (PDT)
> From: PIYUSH GUPTA <piyush_g@yahoo.com>
>
> Hi,
>
> I am compiling an application on host Solaris,
> and target powerpc-elf.
> For linking, collect2 is invoked which invokes
> powerpc-elf-ld. It gives errors like :-
>
> abc.o(.data+0x04): undefined reference to `global
> constructors keyed to ABC::f1(void)'
I'm not completely sure that powerpc-elf is a supported target.
Normally people use powerpc-eabi. powerpc-elf is another name
for powerpc-sysv4.
> Please give me some idea as to why such errors
> are there; even when .o file with definition of
> ABC::f1() is linked.
I can't give you any help unless you can tell me:
- what version binutils
- what version gcc
It would also help if you could provide a short test case.
> Another Question :-
> What is ld2 and how to compile ld2 using binutils ?
I have no idea. I've never heard of it.
--
- Geoffrey Keating <geoffk@cygnus.com>