delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/06/12:26:18

Date: Mon, 6 Jul 1998 19:26:01 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Blake McCurdy <am898 AT chebucto DOT ns DOT ca>
cc: djgpp AT delorie DOT com
Subject: Re: linking huge project
In-Reply-To: <6nqq28$qbu$2@News.Dal.Ca>
Message-ID: <Pine.SUN.3.91.980706192145.28501D-100000@is>
MIME-Version: 1.0

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019