[fpc-devel] macos: -Xm leads to error while linking

Jonas Maebe jonas at freepascal.org
Sun Jan 24 18:22:16 CET 2021


On 24/01/2021 17:15, Виктор Матузенко via fpc-devel wrote:
> It's official release, I've not tested with the trunk version. -Xm was
> successfully
> worked with fpc 2.6.x.

That's strange, at first sight it did nothing for macOS in 2.6.x

> Is this a bug? Should I create an issue in the bug tracker?

No, I've fixed it. It will be fixed in 3.2.2.

> Is there a workaround to use the -Xm and still get the .map file? Maybe some
> modifications to ppas.sh or link.res would help?

You can use the following parameters instead of -Xmbla.map to work
around it:
-k-map -kbla.map


Jonas


More information about the fpc-devel mailing list