From: mdruiter AT cs DOT vu DOT nl (Ruiter de M) Newsgroups: comp.os.msdos.djgpp Subject: Re: MAKE with BASH and not GCC Date: 20 May 1998 12:37:56 GMT Organization: Fac. Wiskunde & Informatica, VU, Amsterdam Message-ID: <6juir4$b9o$1@star.cs.vu.nl> References: <01bd8343$bcec6b60$b777b6cc AT eng-2> NNTP-Posting-Host: galjas.cs.vu.nl Lines: 36 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk cjobmann (nospam DOT cjobmann AT innovawireless DOT com) wrote: > I'm trying to use make with a compiler other than gcc(microtec) I bet it isn't compiled with DJGPP v2.01, is it? :-( > I have installed BASH as my shell, but it still acts like it DOS, since > it doesn't recognized long command lines. These are two different things. BASH is the shell, which processes your commands just like COMMAND.COM. DOS is the Operating System, which handles things like starting processes, file access and screen display. > The command received by the compiler is truncated, so the compile fails. Yes, that is to be expected. DOS doesn't allow long command lines (longer than 127 chars or so). The reason that you *can* give long command lines to DJGPP-compiled programs, is that DJGPP has special handling for it. The command line is (in addition to the DOS-way) passed seperately by DJGPP (BASH), and read by DJGPP (the spawned program). This process is changed in 2.01, so you can't pass long command lines to 2.00 programs. > I've read all the FAQ, and it mentions this problem, and still can't > figure it out. All I just did is try to explain it in my own words. I hope it helps. -- Groeten, Michel. http://www.cs.vu.nl/~mdruiter ____________ \ /====\ / "You know, Beavis, you need things that suck, \/ \/ to have things that are cool", Butt-Head.