From: Eli Zaretskii Newsgroups: comp.os.msdos.djgpp Subject: Re: Problem with Automatic linking with RHIDE Date: Sun, 13 Feb 2000 16:06:28 +0200 Organization: NetVision Israel Lines: 13 Message-ID: References: <88635h$h8d$1 AT news6 DOT svr DOT pol DOT co DOT uk> NNTP-Posting-Host: is.elta.co.il Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: news.netvision.net.il 950450968 4537 199.203.121.2 (13 Feb 2000 14:09:28 GMT) X-Complaints-To: abuse AT netvision DOT net DOT il NNTP-Posting-Date: 13 Feb 2000 14:09:28 GMT X-Sender: eliz AT is In-Reply-To: <88635h$h8d$1@news6.svr.pol.co.uk> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 13 Feb 2000, Mike Collins wrote: > I am writing a program that has a lot of C files. When I compile, everything > compiles OK, but it can't all link because the list of C files is too long > for the linker input line. I could no doubt merge some of these files into > one so that the number of files would be fewer, but is there a way of > increasing the length of the linker input line? Either (1) use a Makefile, in which case Make will use the DJGPP-specific method of passing long command lines to the linker; or (2) write your command to a file and use it as a response file (see sections 16.4 and 16.5 of the DJGPP FAQ list for more details).