FastMM4
FastMM4 copied to clipboard
FPC support??
Browsing the FastMM4.pas, I found many entries related to FPC (32bit and 64bit); yet the readme only mentions the Delphi4+ and BC4+; so is FastMM4 FPC ready? what's limitation, and how it fares compared to FPC internal memory manager. how to use it.
FPC support for OS X and Linux (i386 and x86-64) was added in October 2015 by Zoë Peterson. I have not tested it myself, but I have not received any reports of bugs either.
Thanks for the response but, unfortunately it doesn't work under windows; any plan to bring support to FPC for windows.
I personally don't have any plans to add support in the short term, but I believe others got it working without too much trouble.
Hi,
I'm compiling a delphi app with FPC (3.0.2) with delphi compatibility mode -MDELPHI
and it throws this error:
FastMM4.pas(1573,55) Error: Identifier not found "clib"
FastMM4.pas(1573,60) Error: Illegal expression
I'm guessing it might have something to do with -MDELPHI
, but not sure.
Any ideas ? Thanks !
Okay it's not -MDELPHI
I've made this simple program:
program test;
uses
FastMM4
begin
writeln ('Hello, world.')
end.
and compiled it as a normal fpc program
$ fpc test.lpr
Free Pascal Compiler version 3.0.2 [2017/04/23] for x86_64
Copyright (c) 1993-2017 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling test.lpr
Compiling FastMM4.pas
FastMM4.pas(1573,55) Error: Identifier not found "clib"
FastMM4.pas(1573,60) Error: Illegal expression
[cropped]
Same error :'(
I came across this repo today: https://github.com/martok/fpc-mm