[fpc-pascal] PROJECT_DERIVED_FILE_DIR

Ken G. Brown kbrown at mac.com
Thu Nov 2 19:03:28 CET 2006


With fpc, in trying to compile an example brought in from CW, and using XCode 2.4.1 on a Dual 2.0 G5 10.4.8, I have started with a Carbon template. In the target rules for processing pascal source files, I see a custom script indicated to use output files $(PROJECT_DERIVED_FILE_DIR)/$(INPUT_FILE_BASE).s

How do you look at the value that PROJECT_DERIVED_FILE_DIR is set to? And where would you change the setting? I cannot find it in any documentation. Is the custom script necessary?

I am getting a compile error saying:
powerpc-apple-darwin8-gcc-4.0.1: no input files while looking for .s file in the Build/projectname.build/DerivedSources directory.

Is a .s always created from Pascal Sources during compiles?

I see a program.s file in Build/projectname.build/DerivedSources/PPC/ directory but am not sure why it cannot be found or what to do about it.

Any tips will be appreciated.
Thx
Ken
 



More information about the fpc-pascal mailing list