[fpc-pascal] can the output object filename be specified on the command line?

Bruce Bauman bruce.bauman at andesaservices.com
Fri Dec 4 05:02:10 CET 2009

Will it cause problems if the unit name (e.g. unit foo__bar;) doesn't match the source filename?
I want to source filename to remain unchanged (e.g. bar.pas), but the unit name (and .ppu and .o filenames) to be different (e.g. foo__bar.o, foo__bar.ppu, unit foo__bar).  Thus, the .ppu files are named the same as the object file and unit, but different from the source filename.
We are porting a large body of existing code and don't want to rename all of the source files if we can avoid it. 
-- Bruce

CONFIDENTIALITY NOTICE: This e-mail is confidential and intended
solely for the use of the individual or entity to which it is addressed.  If
you are not the intended recipient, be advised that you have received 
this email in error and that any use, dissemination, forwarding, printing 
or copying of this e-mail is strictly prohibited. If you received this e-mail
in error, please delete it from your computer and contact the sender.

More information about the fpc-pascal mailing list