From: "Mike Collins" Newsgroups: comp.os.msdos.djgpp Subject: Re: Problem with Automatic linking with RHIDE Date: Sun, 13 Feb 2000 19:26:15 -0000 Organization: Customer of Planet Online Lines: 25 Message-ID: <88706s$666$1@news6.svr.pol.co.uk> References: <88635h$h8d$1 AT news6 DOT svr DOT pol DOT co DOT uk> NNTP-Posting-Host: modem-95.emeldir.dialup.pol.co.uk X-Trace: news6.svr.pol.co.uk 950469659 6342 62.136.193.95 (13 Feb 2000 19:21:00 GMT) NNTP-Posting-Date: 13 Feb 2000 19:21:00 GMT X-Complaints-To: abuse AT theplanet DOT net X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote in message news:Pine DOT SUN DOT 3 DOT 91 DOT 1000213160343 DOT 2094A-100000 AT is... > > 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). Thanks a milion, Eli, Mike.