Skip to main content

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

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 for tracking this. If anyone has any ideas regarding why this happens please comment to that bugzilla.

 

Thanks,

Mikhail

 

 

 

 


Back to the top