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

Date: Fri, 12 Nov 1999 17:10:50 +0100
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Message-Id: <199911121610.RAA22183@acp3bf.physik.rwth-aachen.de>
To: zacu AT cc DOT tut DOT fi (Forsberg Sakari)
Cc: djgpp AT delorie DOT com
Subject: Re: Too many object files!
Newsgroups: comp.os.msdos.djgpp
Organization: RWTH Aachen, III. physikalisches Institut B
X-Newsreader: TIN [version 1.2 PL2]
Reply-To: djgpp AT delorie DOT com

In article <80gvgp$l3o$1 AT baker DOT cc DOT tut DOT fi> you wrote:

> 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?

* Dead-simple solution which won't always do:

	gxx *.o -o test.exe

* Slightly better solution: use response files:

	gxx @ofiles.lst -o test.exe

  (where ofiles.lst is what its name suggests)

* Medium solution: use DJGPP's port of bash

* Best solutions: use a Makefile or an IDE (such as RHIDE)

--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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