GCC: limitation with the command line length

Viktor Brange vikke93@gmail.com
Mon Jan 5 11:30:00 GMT 2009


I've just tried it myself, and as you say the CMD.exe prompt doesn't
allow these lengths. However by creating a Makefile which contain this
huge command-line (9116 characters), I was able to successfully pass
it to GCC.
I was using the DJGPP (DOS) ports of gcc/make on Windows XP 32-bit.
Are you sure that this is a limitation in GCC and not in CMD.exe?
Cygwin does in fact also invoke CMD.exe for the prompt.

 Viktor Brange

More information about the Gcc-help mailing list