delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/18/00:19:21

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: MAKEGNU and DOS
Date: Thu, 17 Oct 1996 22:41:20 -0700
Organization: Three pounds of chaos and a pinch of salt
Lines: 44
Message-ID: <32671880.6EAB@cs.com>
References: <3266CC9B AT server DOT etnoteam DOT it>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp104.cs.com
Mime-Version: 1.0
To: Ferrero Marcello <ferrero AT pcmail DOT etnoteam DOT it>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Ferrero Marcello wrote:
> 
> Dear all,
> is anybody able to tell me how to increase the length of the list of
> possible arguments for a
> DOS command line?

There are two main ways to get around the 126-character limit of DOS
command lines:

1) Use a response file for your commands like so:  gcc @commands.txt
This has the limitation that you can't change the command-line
parameters without having the makefile regenerate 'commands.txt' each
time.

A much less painful way is to:

2) Download and install DJGPP, the 32-bit port of the GNU C/C++ compiler
and tools to MS-DOS.  GNU make as ported to DJGPP _can_ handle long
command lines by using an alternate method of passing them to programs. 
For more info, visit http://www.delorie.com/djgpp.  DJGPP and its
components are available for download from any SimTel mirror in the
pub/simtelnet/gnu/djgpp/ directory.  Download the file v2/readme.1st for
download and installation instructions.

From the DJGPP FAQ, some SimTel sites near you are:

Naples, Italy: 
      ftp.unina.it (ftp://ftp.unina.it/pub/simtelnet/gnu/djgpp/)
Italy: 
      cis.utovrm.it (ftp://cis.utovrm.it/simtelnet/gnu/djgpp/)
Italy: 
      ftp.flashnet.it (ftp://ftp.flashnet.it/pub/simtelnet/gnu/djgpp/)
Italy: 
      mcftp.mclink.it (ftp://mcftp.mclink.it/pub/simtelnet/gnu/djgpp/)

Good luck!

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I |        fighteer AT cs DOT com          |
| Proud owner of what might one   |   http://www.cs.com/fighteer    |
| day be a spectacular MUD...     | Plan: To make Bill Gates suffer |
---------------------------------------------------------------------

- Raw text -


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