Link Problem

Qian Xu quian.xu at stud.tu-ilmenau.de
Thu Apr 2 04:43:31 PDT 2009


davidl wrote:

> You're sure that's a linking problem?
> GDC only use DMD frontend, so if it's a linking problem it should be ld's.
> 
> LD seems to behave absurdly that it expects to resolve symbols.
> e.g.
> a.o provides symbol c, and b.o needs symbol c
> you'd better feed ld with: b.o a.o not a.o b.o
> 

If I change the order of the object files, I might see different error
messages. But all of them are about "undefined reference to ..."


> Though you have that amount of files, the effort of tweaking orders just
> wastes your time. Try to make your code dmd compatible and try dmd!

We are migrating. But it takes time :)




More information about the Digitalmars-d mailing list