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.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to