Linker can't resolve any references

Ian Lance Taylor iant@google.com
Wed Jun 23 20:44:00 GMT 2010


Bob Cowdery <bob@bobcowdery.plus.com> 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.

Ian



More information about the Gcc-help mailing list