On Thu, 17 May 2012, luciano de souza wrote:

hello all,

I am compiling CGI modules with Freepascal in commandline mode. if I do:

fpc test.pas

the result is "test.exe". But the source name needs to be different
from the executable name. For this reason:

fpc test.pas -oindex.cgi

This command should result in index.cgi, placed on the current folder.
However, this command is ignore and I obtain "test.exe" again.

Hm. This should work correctly.

On linux, it gives the correct output.

I use it on windows too, and it has always worked correctly. I use it for fcgi binaries every day.

Try more verbose output, maybe you'll learn something from it.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to