[fpc-devel]FPC CVS breaks Lazarus build within IDE

Marco van de Voort marcov at stack.nl
Fri Aug 13 11:54:35 CEST 2004


> > TProcess.CommandLine property as the first argument, when it should only get the
> > binary name. The error is probably in the MakeCommand() line in
> > process.inc.
> 
> I don't know if you already know this or if you can use it, but there are
> other commands on linux like ExecVE wich can handle the complete
> commandline. (ExecXX)

Actually, Linux (the kernel) only has ExecVE.

GNU libc has some more variants, but FPC does't use libc directly. FPC
rolls its own set based on kernel.execve with native strings, see fpexec* in
baseunix/unix

However these only became usable with 1.9.4+, and FCL has to work with 1.0.x
too which is probably the reason for TProcess to use execve (avoid the
shortstring versions of 1.0.x)





More information about the fpc-devel mailing list