This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC: limitation with the command line length
- From: "Viktor Brange" <vikke93 at gmail dot com>
- To: Neatsoul <neatsoul33 at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 5 Jan 2009 12:30:03 +0100
- Subject: Re: GCC: limitation with the command line length
- References: <c379d1ee0901050204m41aa73b5oc43f896f9fb882ba@mail.gmail.com> <c379d1ee0901050209w267cba6t619568bfd4971684@mail.gmail.com>
Hello,
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