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]

Feedback on ld circular reference resolution code?


   Date: Thu, 28 Apr 94 15:06:31 -0400
   From: rms@gnu.ai.mit.edu (Richard Stallman)

	 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.

I believe you are discussing the feature you have requested, which is
different from the feature that Ted implemented.  His implementation
appears to have the effect of repeating the library name at the end of
the link line, and no more.  Maybe I misread it.

Ian