I am developing a cross platform application on OS X 10.6 using Lazarus 0.9.31. After a colleague reported it was not running on Intel 10.5, I found the info on linking for 10.5 and added the following Build Macro:
if TargetOS = 'darwin' then begin
UsageCustomOptions += ' -k-macosx_version_min -k10.5';
UsageCustomOptions += ' -XR/Developer/SDKs/MacOSX10.5.sdk/';
end;
That didn't solve the problem though, it still would not run. I did check, and the SDK path is correct. I found an Intel box running 10.5, and compiled it there, but that is not a good solution.
Any suggestions as to what I am doing wrong?
Cheers,
Frederick