[fpc-pascal] Handling with sources and exebutables with different names
Michael Van Canneyt
michael at freepascal.org
Thu May 17 14:43:42 CEST 2012
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.
More information about the fpc-pascal
mailing list