This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcj problem compiling 850 files
- From: Brian Jones <cbj at gnu dot org>
- To: "Erik Poupaert" <erik dot poupaert at chello dot be>
- Cc: "magnus persson" <mtmmtm at yahoo dot com>, <java at gcc dot gnu dot org>
- Date: 24 Jan 2003 09:02:56 -0500
- Subject: Re: gcj problem compiling 850 files
- References: <POEIJGMGPFPGFHAGKFHAMEPCCDAA.erik.poupaert@chello.be>
"Erik Poupaert" <erik.poupaert@chello.be> writes:
> -----Original Message-----
> From: java-owner@gcc.gnu.org [mailto:java-owner@gcc.gnu.org]On Behalf Of
> Jeff Sturm
> Sent: Friday 24 January 2003 14:35
> To: magnus persson
> Cc: java@gcc.gnu.org
> Subject: Re: gcj problem compiling 850 files
>
>
>
>>>>> As others have said, this is a limitation of Cygwin, not gcj.
>>>>> You might also try the `@file' argument syntax, for which the
>>>>> named file contains a whitespace-delimited list of java sources
>>>>> to compile.
>
> The problem is related to the fact that the lpCommandLine argument in the
> win32 CreateProcess() is limited to 32Kb. Therefore, you can never have a
> commandline invokation that exceeds 32 Kb.
Yes, so you should use the @file syntax which is also supported by
javac and jikes. Your workaround also works, so to each his own.
Even UNIX shells sometimes have their argv limits.
Brian
--
Brian Jones <cbj@gnu.org>