Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Spawner command line lenght limitations?

I am wondering if we are overusing the Spawner framework. My understanding
is that it was really only meant for debug that had specific requirements on
process management.

I have removed its use for invoking the ctags indexer and now use
java.lang.Process directly. No problems so far...

Doug Schaefer, QNX Software Systems
Eclipse CDT Project Lead, Tools PMC member
http://cdtdoug.blogspot.com
 

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On
Behalf Of Alex Chapiro
Sent: Tuesday, April 25, 2006 1:45 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] Spawner command line lenght limitations?

Hi Michail,

It was done for Win98 compatibility reasons. It can be changed easily ( 
MAX_CMD_SIZE preprocessor macro), we do not support Win98 any more. On 
the other hand, there is still command line limitation in WinXP (32K I 
suppose). To ignore this problem in QNX IDE we just pass all parameters 
to GNU make using temporarily created file.


Alex

Sennikovsky, Mikhail wrote:
> Hi all,
>
>  
>
> I was making some testing on how the MBS Internal Builder works with
> large projects on my Windows XP/PC box and noticed that the command
> execution (ProcessFactory.exec()) fails for large commands (I've got a
> ~2900 chars linker command that fails) with error message "Exec
> error:Too long command line".
>  
> The same command does not fail when invoked with the gnu make external
> builder.
>  
> After I disabled the Spawner (removed the "os" directory), the issue was
> gone.
>  
> Looks like the spawner has a command line length limitation. 
>
>  
>
> I've created the bugzilla
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=138444
> <https://bugs.eclipse.org/bugs/show_bug.cgi?id=138444>  for tracking
> this. If anyone has any ideas regarding why this happens please comment
> to that bugzilla.
>
>  
>
> Thanks,
>
> Mikhail
>
>  
>
>  
>
>  
>
>  
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>   
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top