Re: GTK+ library access issue?

Paul Davis wrote:

the gnu linker follows a unix tradition of interpreting the list of
explicitly and implictly provided object files names as a dependency
order. consider two files, a.o and b.o. suppose that a.o uses a
function or symbol found only in b.o. in general, the linker will be
able to link these two if the order given is "a.o b.o" but not if its
"b.o a.o".

Are you sure about that? I thought that ordering was only
important for libraries, and then only insofar as it affects
which .o files get pulled out of the library.

But the order of -l options can certainly be important in
any case.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]