Carbon Interface lazarus / 10-Designer ---------------------------------------------------------------------- jcannonb · 2005-06-01 19:06 I am new to Mac programming but have used Delphi and FreePascal/Lazarus for quite some time. I was wondering when there may even be a workable beta version of a native Mac OS carbon interface for lazarus so I can confidently build a GUI Mac OS X app without the user having to have X11 installed. Joshua Butcher jcannonb@gmail.com ---------------------------------------------------------------------- Marc · 2005-06-02 08:26 AFAIK there is not. A while ago someone on the mailinglist announced that he would work at it, but till so far I've nothing heard. ---------------------------------------------------------------------- felipemdc · 2005-10-18 21:17 It is being implemented slowly ... you can help testing it / adding to it. ---------------------------------------------------------------------- Drewski · 2005-10-19 00:25 Here's an update: Work on carbon is progressing slowly as sekel said. Currently only very few things work. So far Marc has done most of the work on Carbon. TForm - Partially implemented. Basically just enough to show a form. TEdit - A fair amount works for this but no events other than mouse events. TButton - Again just a partial implementation so far. TListView - I've *barely* started on this.  The work so far is not in SVN. All other controls have nothing done on them. Even timers. I've been experimenting with working on linux developing for MacOSX. I have managed to build a crosscompiler to compile for powerpc-darwin from i386-linux. So, currently that is what I'm doing. Andrew ----------------- Have an nice day ---------------------------------------------------------------------- felipemdc · 2005-10-19 03:17 What do you mean by building a crosscompiler to compile for powerpc? You added code to Free Pascal to do that? Uau!, sounds very good. Is it on fpc source? I would be nice if you could add this kind of stuff to the Lazarus wiki. There is currently a tutorial on how to crosscompile from Linux to Win32. It would really be nice to have a native widget for Mac OS X. I would help, but there are so few Macs on Brazil that I haven't seing one for many years. ---------------------------------------------------------------------- Drewski · 2005-10-19 03:29 No I didn't add any code. FPC is already available for the Mac. All you need are the cross binutils for assembling and linking. The binutils for this are a project from odcctools. I had to make one small change in the compiler source that had a path to a library hardcoded into it for darwin/mac and remove -Xc from all the Makefiles. The command line I used to compile was: make all CPU_TARGET=powerpc OS_TARGET=darwin OPT="-Xd -XPpowerpc- darwin- -Fl/$HOME/darwin-root/usr/lib"