Date: Mon, 6 Jul 1998 19:26:01 +0300 (IDT) From: Eli Zaretskii To: Blake McCurdy cc: djgpp AT delorie DOT com Subject: Re: linking huge project In-Reply-To: <6nqq28$qbu$2@News.Dal.Ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 6 Jul 1998, Blake McCurdy wrote: > I have an incredibly big project ( 40, 45 object files ), and my dos > command line balks. It will take the first 125 chars or so, and then > complains that it cannot find the file that it created truncting my cmd > line. IE hand.o truncated into ha, linker complains cannot find "ha" no > such file or directoryEnonet. How do I get around this. I'm actually > making it into a libray, not linking. You can use the Make program to call ar.exe (the librarian), in which case you can use command lines up to 16KB (DJGPP programs have special ways of passing long command lines between them). Or you can put all the file names on a file and use it as a response file, like this: ar rvs libfoo.a @response.file This will work from the DOS prompt. More details about these features are available in the DJGPP FAQ list, sections 16.4 and 16.5, which I suggest that you read. The FAQ is available as v2/faq210b.zip from the same place you get DJGPP.