This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcj problem compiling 850 files


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]