delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/11/18/03:57:10

Date: Tue, 17 Nov 92 19:45:10 PDT
From: Peter Crowley <pcrowley AT qdeck DOT com>
To: raney AT metacard DOT com, djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Too many files on gcc command line at link phase

>  This is probably a simple question (we're DOS impaired), but how
>does one go about putting a large number of files (about 500
>characters) on the gcc command line for the link phase?
>  We're using the gnuish make (thanks for the suggestions!) but
>something stops working (error 2) if there are more than about 100
>characters on the gcc command line.  Running the link as a batch file
>doesn't work either so it seems to be a DOS limitation.
>  In the olden days (early 80s) link specifications were usually put
>into a separate file.  Is this still necessary?  How is it done?
>  Thanks in advance for any advice,

With ndmake I use the following:
 >xv.lnk $(OBJS) $(LIBS)
 $(CC) @xv.lnk -o xv

I have'nt seen this supported anywhere else, but I would be interested in
anything similar for gnuishmake

Peter Crowley
Quarterdeck Offices Systems


- Raw text -


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