[fpc-pascal] gmp

Michael Van Canneyt michael at freepascal.org
Mon Feb 17 09:46:21 CET 2025



On Fri, 14 Feb 2025, ppadilcdx--- via fpc-pascal wrote:

> I did copy gmp.pas to another folder and named it mygmp.pas, changed "$linklib gmp.3” to "$linklib gmp.dylib” (just plain gmp did not work). Now examples compile and run with the change to “uses mygmp” and adding opt/homebrew/lib to the link search path.
>
> So good to go.
>
> For next release can we change the gmp.pas source to:
> {$ifdef darwin}
>  {$linklib gmp.dylib}
> {$endif}
>

Done.

Michael.


More information about the fpc-pascal mailing list