Linker can't resolve any references

Ian Lance Taylor
Wed Jun 23 20:44:00 GMT 2010

Bob Cowdery <> writes:

> The linker
> does seem to want to resolve dangling references as it works down the
> library list rather than build a table as it goes and hook things up
> later, so going strictly by the rules it won't even pull it in the
> situation you give above. Do you still think that behavior is incorrect?

That is a correct description of how the linker behaves.  It is also
what I intended to convey with my example.  My apologies if I got the
example wrong.


More information about the Gcc-help mailing list