Christoph Hellwig wrote:

That's what I meant with my comment btw.  It's a horrible idea to
put in all the junk to support inferior OSes into gcc and all other
other programs, and with cygwin and djgpp there are already two nice
enviroments for that.  If Mark wants to duplicate that in MinGw that's
of course fine aswell..

I cannot see any way to "fix" MinGW so that a user using a Windows command shell can invoke GCC with a long command line; by the time GCC is invoked, the command has already been truncated. That's why most (all?) compilers for Windows have "@file" or equivalent.

The obvious suggestion is that the user should use a "real" shell. However, since the user is often not invoking the compiler directly, but is instead using an IDE or some make program, that's not a practical option.

--
Mark Mitchell
CodeSourcery, LLC
[EMAIL PROTECTED]
(916) 791-8304

Reply via email to