[fpc-pascal] Output program name -o
Vincent Snijders
vsnijders at quicknet.nl
Thu Sep 29 12:41:57 CEST 2005
L505 wrote:
> Hi!
>
> Is there a way to change the extension of the output executable?
>
> When compile with this example:
>
> fpc /home/me/project1.pas -oNewName.cgi
>
> The file is compiled as just "NewName" without the .cgi extension. I'm trying to get
> PSP/Fakelinux integrated tightly and it would be nice to output a CGI or PSP extension on
> the files automatically. Otherwise I'm stuck renaming them.
I haven't tried recently, but if I remember correctly, you can work
around it like this:
fpc /home/me/project1.pas -oNewName.cgi.notimportant
Vincent.
More information about the fpc-pascal
mailing list