This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

linker hanging


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


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