[fpc-pascal] Where is fpmkconv?

Peter Vreman peter at freepascal.org
Sat Aug 11 18:17:54 CEST 2007


At 17:15 11-8-2007, you wrote:
>Michael Van Canneyt wrote:
>>fppkg mkconvert
>>
>Should be "fppkg convertmk" ;)
>>It will convert the Makefile.fpc in the current directory and 
>>compiles and runs it. I just tested here, and it works fine.
>>
>Right, much better indeed :) But....
>
>I got the following error message:
>
>Unknown name/value pair in compiler section : unittargetdir
>Unknown name/value pair in clean section : files
>
>Which is:
>unittargetdir=./units/$(CPU_TARGET)-$(OS_TARGET)
>files=$(wildcard ./units/$(CPU_TARGET)-$(OS_TARGET)/*$(OEXT)) \
>      $(wildcard ./units/$(CPU_TARGET)-$(OS_TARGET)/*$(PPUEXT)) \
>      $(wildcard ./units/$(CPU_TARGET)-$(OS_TARGET)/*$(RSTEXT))
>
>
>I suspect its something about the target macro's. What is your 
>opinion? Can we implement something for these macro's? I have an 
>idea already but would like to pass it trough you first, if that is 
>ok with you.

That files line should not be necessary anymore. fpmake knows that 
.o/.ppu/.rst files are generated for units and needs to be clean. You 
only need to supply the unit names. But this part is still not 100% 
finished with things like implicit build units.

But as you have already found out with the fpc execution the tool is 
still in (stalled) development.

The poNoConsole patch is applied.


Peter




More information about the fpc-pascal mailing list