Mail Archives: djgpp/2001/03/02/19:06:43
Phil,
Here is a snip from notes I kept when porting some stuff to DJGPP:
<snip>
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++.
<end-snip>
Ed Sowell
Philip Boucherat wrote:
> Hi,
>
> I finally got round to building a M68K cross compiler from the V2.952
> gcc sources using djgpp on Windows 95 as my native compiler, but all the
> tools I've built have got a command line length limit of around 160
> characters. The only reason I tried doing this in the first place was to
> get round this limitation on the V2.7.2 tools I got from
> ftp.lysator.liu.se
>
> Is this limitation something in the shell or is it built in to the tools
> I built? Or maybe neither of these ...
>
> I don't think it's the shell because the djgpp compiler seem to accepts
> command lines of any length.
>
> Cheers,
>
> Phil
>
> --
> Philip Boucherat
- Raw text -