[fpc-pascal] Output program name -o

L505 fpc505 at z505.com
Thu Sep 29 10:12:59 CEST 2005


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.

--
 Lars
 http://z505.com




More information about the fpc-pascal mailing list