www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/04/01/12:24:02

To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Many many object files
Date: Wed, 01 Apr 92 08:19:47 -0800
From: John Neil <neil AT dehn DOT mth DOT pdx DOT edu>
Status: O

> Hi,
> Has anyone tried to link many many many.... object files? Since the DOS
> is limited by the 128-character command lines, I was not able to link
> more than SOME number (say 16) of object codes. Do I have to rename object
> file names every time as 1.o 2.o .... etc. Even this wouldn't help if
> I tried to link 300 object files!!!!! Is there an "indirect" link command
> just like Borland's "@". ????

> Take care
> Tolga

Since this is derived from the unix version of gcc, I would imagine that using
the -r option on the linker would do it.  You have to do several linking
steps in order to get it correct, but it should work.

--John


John Neil, Graduate Teaching Assistant           e-mail:  neil AT math DOT mth DOT pdx DOT edu
Mathematics Department                         NeXTMail:  neil AT dehn DOT mth DOT pdx DOT edu
Portland State University
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

- Raw text -


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