[fpc-devel] fpc calls crosscompiler from older version

Bart bartjunk64 at gmail.com
Fri Jan 4 00:09:18 CET 2019

On Fri, Jan 4, 2019 at 12:03 AM Tomas Hajny <XHajT03 at hajny.biz> wrote:

> In any case, _if_ doing it, I would do it by adding -Fu and -Fi pointing
> to the upper (i.e. compiler) directory to the Makefile rule for building
> the fpc executable, adding a possibility to pass the version information
> from fpc to the respective compiler by adding something like '-V?' +
> full_version_string to PPCCommandLine _if_ -V parameter has not been
> passed to the fpc executable already (it wouldn't make much sense
> otherwise), adding a new warning message to msg/errore.msg and adding
> handling of the new parameter to options.pas in the compiler directory.
> Obviously, it would only work for compiler versions having this
> functionality included, i.e. you couldn't safeguard against having really
> old versions invoked that way.

That sounds like too much of a hassle.

Thanks for explaining.

I'll just try to remember to build and install the cross-compiler as
well when I build trunk.


More information about the fpc-devel mailing list