[fpc-devel] fpc dry run: syntax check mode?

Gennadiy Poryev core at barvinok.net
Tue Jun 26 11:23:52 CEST 2012


Hello,

 

In my web project I need to validate input (uploaded) file against Pascal syntax. Since it should be done using server-side scripting with restricted environment and lowered privileges, I’d like fpc to not create any files whatsoever; preferably to not use file write operations at all, relying solely on process exit code. Quick scroll of fpc -h did not reveal any relevant modes. Can (and how) this be done?

 

// Gennadiy.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20120626/22b6cc0b/attachment.html>


More information about the fpc-devel mailing list