Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!lll-lcc!ptsfa!ihnp4!homxb!ho7cad!wjc From: wjc@ho7cad.UUCP Newsgroups: comp.sys.att,comp.unix.wizards,comp.unix.questions Subject: Re: Problems with ld Message-ID: <216@ho7cad.ATT.COM> Date: Fri, 11-Sep-87 19:41:55 EDT Article-I.D.: ho7cad.216 Posted: Fri Sep 11 19:41:55 1987 Date-Received: Sun, 13-Sep-87 07:39:55 EDT References: <1@vanvleck.MATH.WISC.EDU> Sender: nuucp@ho7cad.ATT.COM Lines: 46 Xref: utgpu comp.sys.att:1051 comp.unix.wizards:3916 comp.unix.questions:3608 In-reply-to: root@vanvleck.MATH.WISC.EDU's message of 10 Sep 87 22:57:09 GMT Posting-Front-End: GNU Emacs 18.47.1 of Fri Jun 26 1987 on ho5cad (usg-unix-v) In article <1@vanvleck.MATH.WISC.EDU> root@vanvleck.MATH.WISC.EDU (Admin) writes: > > ld can't handle an argument list that contains 2000 file names, so we've > ... > > It seems to us that might be overflowing tables in ld; is this plausible? > If so, what can we do? Someone who has brought Cayley up on other systems > told us he got ld to work by modifing it to read its argument list from a file. > Could we get a copy of such an ld? Are there any other pieces of information > that might help to get ld to handle this big a job? > > University of Wisconsin - Math Dept > I haven't monkeyed with this too much (and not at all on a 3b15 that you said you're on), but the version of "ld" that reads arguments from a file is probably called "ld" on your system (small joke). Really, though, the standard SVR2 "ld" can use something called an "ifile". The "ifiles" (anything not an archive or an object) contain "ld" directives. Among other things, generally anything that you could put on the "ld" command line qualifies as a directive. E.g., ld -x -y a.o b.o c.a is the same as ld eye.file where "eye.file" contains: -x -y a.o b.o c.a I don't know if this is going to solve your problem with overflowing tables, though. (That doesn't mean "I doubt it"; it just means I dunno.) Another possibility (somewhat more effort) is to do several loads hierarchically. The early ld's generate relocatable outputs which are part of the next load. The hope is that you resolve and submerge some of the symbols along the way. Bill Carpenter (AT&T gateways)!ho5cad!wjc HO 1L-410, (201)949-8392