[fpc-pascal] Option in Makefile to clean installed compiled units

Fr0sT fr0st.brutal at gmail.com
Wed Oct 10 15:41:43 CEST 2018


Hi Sven,

> First there is no specific option to clean what is dice with "install",
> because INSTALL_PREFIX might point to a non empty directory (e.g. / or /usr
> on *nix systems).
>
> In addition to that "make all" does not care about what has been copied
> with "install".
>
> What could be however is that you're trying to build with the newly created
> trunk fpc if you have that in your PATH variable. In that case either
> remove the directory as you said in your mail or ensure that the build
> process does not pick up the trunk compiler.
>
> If that does not help, we need more information, e.g. the output of "make
> all".
>
> Regards,
> Sven

Funny. Just after this report I rerun my build script without "units" 
folder cleanup and it seems to pass without any issue. Though I'm 
absolutely sure that action helped me yesterday, it's not necessary now. 
So I guess the subject is not actual (until some evil magic revives it 
occasionally).

  
Best regards



More information about the fpc-pascal mailing list