This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Using object lists for libf2c overflows command line length on AIX.
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Cc: David Edelsohn <dje at watson dot ibm dot com>, gcc-patches at gcc dot gnu dot org
- Date: 31 Dec 2001 18:10:36 -0200
- Subject: Re: Using object lists for libf2c overflows command line length on AIX.
- Organization: GCC Team, Red Hat
- References: <200112311603.LAA29424@makai.watson.ibm.com><org05rjmsc.fsf@free.redhat.lsd.ic.unicamp.br><3C30C251.F41D79C9@moene.indiv.nluug.nl>
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