Mail Archives: djgpp/2001/03/03/11:06:40
Thanks, Eli. I don't remember if I tried the response file method or not. In any
case,
I may be getting back into the subject soon and I'll keep this note for
reference.
So, the CMDLINE environment variable approach, once available, will solve the
problem
without resorting to a response file?
Ed Sowell
Eli Zaretskii wrote:
> > From: "Edward F. Sowell" <sowelled AT home DOT com>
> > Newsgroups: comp.os.msdos.djgpp
> > Date: Fri, 02 Mar 2001 23:56:41 GMT
> >
> > Also, even though the GNU make program accepts long command within
> > makefiles, this does not mean that make itself can be invoked with a
> > long command line. In particular, if GNU make is spawned from
> > a typical PC C++ compiled program, the command line gets chopped
> > to 126 characters, whereas the PC make program (nmake, smake, Borland make)
> > do not. The only work-around is to compile the program
> > from which the spawn call to GNU make is made with g++.
>
> That's not the only work-around. You can also use the response file
> method for invoking a DJGPP program from a non-DJGPP one.
>
> The current development sources of the DJGPP library include code
> which allows to pass command lines up to 1KB from non-DJGPP to DJGPP
> programs and vice versa, using the CMDLINE environment variable. The
> next DJGPP release will support this.
>
> Note that passing long command lines from COMMAND.COM's prompt
> requires some non-defualt setup of COMMAND.COM as well.
- Raw text -