This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using object lists for libf2c overflows command line length on AIX.


On Dec 31, 2001, Toon Moene <toon@moene.indiv.nluug.nl> wrote:

> I agree, as long as this implementation actually _fails the build_ if it
> cannot cope with the long command lines that might turn up.

It doesn't fail the build.  It links together with -r a couple of
object files into a new object file, used to a second-stage linking
along with some more object files, and so on, and so forth, until it
can fit all of the remaining object files into the actual link
command.  That's for linking shared libraries, of course.  In the case
of archives, it just adds a couple of object files at a time.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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