Mail Archives: djgpp/1997/10/09/22:01:31
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 -