linker hanging

David Müller (ELSOFT AG) d.mueller@elsoft.ch
Tue Aug 21 07:15:00 GMT 2001


Hello

I have troubles to link code on a PowerPC based
Linux/glibc-2.1.3 system.

The following short piece of code triggers this problem:

int main() {
        return(0);
}

When compiled with "gcc -o testld testld.c" all is well.
But when an additional library is specified (like "-ldl" 
or "-ltermcap"), the linker seems to stop working (it still
consumes processor time, but it don't makes any progress).

> gcc --version
2.95.3 
> ld -V
GNU ld version 2.11.90.0.5 (with BFD 2.11.90.0.5)
  Supported emulations:
   elf32ppclinux
   elf32ppc
   elf32ppcsim


Any ideas what this could be?


TIA

Dave



More information about the Binutils mailing list