Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-08

Updating on Mac from PPC to Intel, GTK/Carbon problems

4 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Tom Verhoeff

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?

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'). Could it be that using Carbon this way requires Intel rather than PPC?

The wiki pages do not address these issues further. Advice appreciated,

Tom

E-MAIL: T.Verhoeff @ TUE.NL | Dept. of Math. & Comp. Science PHONE: +31 40 247 41 25 | Technische Universiteit Eindhoven FAX: +31 40 247 54 04 | PO Box 513, NL-5600 MB Eindhoven http://www.win.tue.nl/~wstomv/ | The Netherlands

Reply by email

Mattias Gaertner
to Tom Verhoeff
Show quoted text 13 lines
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.

Show quoted text 9 lines
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

Reply by email