Two Library files with same name
raja@ece.gatech.edu
raja@ece.gatech.edu
Mon Jul 31 19:28:00 GMT 2006
Hi,
I have two library files with same name(say 'foo') at different
locations(say location A & B). I want to use both the libraries.
If i say -LA -LB in the gcc options, it works. If i say -LB -LA, it doesnt
work. Can you explain me, how gcc resolves this library linking?
When it sees -lfoo, how does it resolve?
-lbar depends on -lfoo at location A and -lbaz depends on -lfoo at
location B.
Thank you,
Raja
More information about the Gcc
mailing list