gcj problem compiling 850 files

Brian Jones cbj@gnu.org
Fri Jan 24 14:03:00 GMT 2003


"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>


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /