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

From: Vic <tudor AT cam DOT org>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: HELP: ENOENT error (Diego Dominguez)
Date: Thu, 09 Oct 1997 18:55:28 -0400
Organization: Communications Accessibles Montreal, Quebec Canada
Lines: 25
Message-ID: <343D60E0.4753@cam.org>
References: <343cce9e DOT 0 AT news DOT arrakis DOT es>
NNTP-Posting-Host: dynamicppp-223.hip.cam.org
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

diego wrote:
>         NOTE: Since I'm also newbie in all that of newsgroups, sure I did
> something wrong, so I apologize in advance  (e.g.: *this* is in fact
> the *second* time I try to send this out        :-O
I know, and I answered it then too. Oh, well...
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.

-- 
--> http://www.cam.org/~tudor <--
Go ahead and build another Messiah
We dig another grave...

- Raw text -


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