ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/12/18:29:31

From: Nate Eldredge <neldredge AT hmc DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Too many object files!
Date: 12 Nov 1999 13:08:47 -0800
Organization: InterWorld Communications
Lines: 31
Message-ID: <83yac3fme8.fsf@mercury.st.hmc.edu>
References: <80gvgp$l3o$1 AT baker DOT cc DOT tut DOT fi> <80ho7j$nrb$1 AT news05 DOT btx DOT dtag DOT de>
NNTP-Posting-Host: mercury.st.hmc.edu
X-Trace: nntp1.interworld.net 942440985 91072 134.173.45.219 (12 Nov 1999 21:09:45 GMT)
X-Complaints-To: usenet AT nntp1 DOT interworld DOT net
NNTP-Posting-Date: 12 Nov 1999 21:09:45 GMT
X-Newsreader: Gnus v5.7/Emacs 20.4
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Raul Carolus" <carolura AT luther DOT edu> writes:

> Forsberg Sakari <zacu AT cc DOT tut DOT fi> schrieb in im Newsbeitrag:
> 80gvgp$l3o$1 AT baker DOT cc DOT tut DOT fi...
> > Hi!
> >
> > I have about dozen of *.cc files and when I have
> > compiled them to *.o -files I can't link them
> > to .exe file, because there are too many of them
> > and MS-DOS 6.2 acceptes only 127 characters long
> > commands! What should I do?
> >
> 
> well, the easiest thing to do would be to combine some of your code files
> into bigger ones.  a simple copy/paste should solve your problem.

But wouldn't necessarily be good design.

See FAQ section 16.4 for some options.

The best way to work around this, IMHO, is to write a Makefile.  DJGPP
programs can call each other without this limit.  Also, make is quite
a good way to control your builds.

If that's not something you want to do, you can use a response file.
This is explained in the FAQ.

-- 

Nate Eldredge
neldredge AT hmc DOT edu

- Raw text -


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