delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/09/22:01:31

From: firewind <firewind AT metroid DOT dyn DOT ml DOT org>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: HELP: ENOENT error (Diego Dominguez)
Date: 10 Oct 1997 00:40:28 GMT
Organization: Netcom
Lines: 29
Message-ID: <61jths$8nt@sjx-ixn3.ix.netcom.com>
References: <343cce9e DOT 0 AT news DOT arrakis DOT es> <343D60E0 DOT 4753 AT cam DOT org>
NNTP-Posting-Host: elp-tx3-21.ix.netcom.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Vic <tudor AT cam DOT org> wrote:
> This is because of DOS. DOS has a limit to the command line of 128
> characters. meaning that if your command line has 129 characters, 1
> character will be lost. Your command line is too long and is being
> truncated, resulting in that error.
> Your command line is " gcc -Ld:/djgpp/lib -Ld:/djgpp/libsrc
> -Ld:/djgpp/contrib/BCC2GRX/lib
> -Ld:/djgpp/contrib/grx22/lib -Ld:/djgpp/diego    -o det55f   areagr2.o
> areagris.o bbox3.o comprob.o crea_et.o det55f.o esquina8.o fusion3.o
> gen_clas.o hist.o link.o link2.o polyadap.o relink4.o visorbba.o
> -lbcc2 -lgrx20 " .It contains around 300 characters. You should create a
> file, put the command line in there MINUS the gcc invocation (in your
> case it would be  -Ld:/djgpp/lib -Ld:/djgpp/libsrc etc... ) then call
> gcc with this parameter: @file where file is the name of the file you
> put the command in.
> BTW: I think this is very well explained in the FAQ.

This would be a perfect answer if the poster had been trying to compile
from the DOS prompt. However, he is using RHIDE, and DJGPP programs can
pass long command lines to each other just fine.

However, different versions of DJGPP *can't*, so be sure your version of
DJGPP and the version of DJGPP used to compile your copy of RHIDE match.

-- 
[- 				 firewind	                            -]
[-   email: firewind AT metroid DOT dyn DOT ml DOT org (home), firewind AT aurdev DOT com (work)  -]
[- 	    "You're just jealous because the voices talk to -me-."          -]
[-                   Have a good day, and enjoy your C.		            -]

- Raw text -


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