For the time being W32.
I have added these lines to FPCDIR/rtl/fpmake.pp.
T := P.Targets.AddUnit('winheap.pp', AllWindowsOSes); // ~bk Windows std heap mm
with T.Dependencies do begin
AddUnit('system');
AddUnit('windows');
end;
fpmake.pp compiles correctly.
In FPCDIR\rtl\win32\Makefile.fpc I have completed the line with heaptrc to be
heaptrc urmeth fstobjcr winheap \
then fpcmake -TAll -r -w
urmeth and fstobjcr are personal additions and they get correctly compiled and installed.
But I cannot convince the make to compile winheap.pp,
SOMEONE KNOWLEDGABLE, please ANY DIRECTION ?Note : urmeth is a memory code patcher based on jedi and fstobjcr is patch code for TObject.create. Those 2 haven't caused any trouble since a month.