[Lazarus] Updating on Mac from PPC to Intel, GTK/Carbon problems
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu Aug 14 21:22:21 CEST 2008
On Thu, 14 Aug 2008 11:36:57 +0200
Tom Verhoeff <T.Verhoeff at tue.nl> wrote:
> I am trying to update my Lazarus installation on Mac OS X.
>
> I used to have a PPC Mac running Mac OS X 10.3.9 (Panther) with
> Lazarus 0.9.22 and FPC 2.0.4. That worked fine.
>
> It also kept on working after transferring the installation to my new
> Intel Mac running 10.5.2 (Leopard, through Rosetta I assume).
>
> Now, I want to upgrade to Lazarus 0.9.24 with FPC 2.2.0 on Intel.
>
> The problem seems to be that I need a new GTK installation
> as well. Fink does not seem to have been updated since 2005.
> Can I have both PPC and Intel versions of the GTK libraries?
You can also try the 0.9.25 version which runs native without gtk on
Mac OS X. See here for snapshots:
http://www.hu.freepascal.org/lazarus/
Or use svn directly.
> How can I make Fink get the Intel versions, preferably still keeping
> the PPC versions? Fink Commander does not seem to be aware
> of processor architecture issues.
>
> Fortunately, installing PPC version of Lazarus 0.9.24 works with GTK,
> BUT it fails to make a Carbon app ("Error: Error while linking",
> because some symbols are not found; I did
> pass to the linker: -dylib_file
> '/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib').
This is no longer needed with current 0.9.25.
> Could it be that using Carbon this way requires Intel rather than PPC?
>
> The wiki pages do not address these issues further. Advice
> appreciated,
Mattias
More information about the Lazarus
mailing list