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?

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


Back to the top