This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Feedback on ld circular reference resolution code?


      It seems to me that you can just write the library
    name twice on the link line and get the same effect.

You don't know whether twice is enough.  It depends what is in the two
libraries.  Maybe -la -lb -la -lb -la will work, for the current
version of the libraries.

Maybe for the next version of the libraries that won't be enough, and
you will have to change it to -la -lb -la -lb -la -lb -la -lb.