Am 23.01.2008 um 22:40 schrieb Hess, Philip J:
Hi Albert,
According to http://wiki.lazarus.freepascal.org/Carbon_interface_FAQ
here is the normal way to rebuild the Lazarus IDE on OS X:
make all LCL_PLATFORM=carbon OPT="-k-framework -kcarbon"
Ah thanks.
You might change your wiki addition to be consistent with this page.
Do you have the correct version of Lazarus and FPC installed? It looks
like you have a MacBook, which would be an Intel-based Mac. But the
error messages you're getting mention "PowerPC".
I just fetched Lazarus from SVN and downloaded FPC on SF - there was
only one DMG. As FPC works (it wouldn't start at all if it is the PPC
version), I assume I have the correct version.
Though, perhaps the Makefile assumes somehow that I have a PPC
(because I am running Mac OS X - perhaps an old check => bug).
How can I use "darwin-x86" (is this the correct name?)?
Thanks,
Albert
-----Original Message-----
From: Albert Zeyer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 23, 2008 3:26 PM
To: [email protected]
Subject: [lazarus] make, MacOSX
Hi,
Is there any documentation about the parameters I can pass to the
Makefile?
I am mainly trying to compile Lazarus directly on my system without
using Lazarus for the compilation.
I have added an entry in the wiki:
http://wiki.lazarus.freepascal.org/Carbon_Interface#Compiling_the_Carbon
_interface_via_Makefile
I am currently using this command:
make LCL_PLATFORM=carbon FPC="fpc -k-framework -kcarbon"
It takes some time until I found out that LCL_PLATFORM is the option
to set the interface. And I also didn't find any method to pass
parameters to fpc or the linker, but it seems that FPC="fpc PARAMS"
did the trick.
Though I get a lot of these:
...
ld: atom sorting error for DEBUGEND_SYNEDITTYPES and
DEBUGSTART_SYNEDITTYPES in /Users/az/Programmierung/lazarus/
components/
synedit/units/powerpc-darwin/synedittypes.o
ld: atom sorting error for DEBUGEND_SYNEDITTYPES and
DEBUGSTART_SYNEDITTYPES in /Users/az/Programmierung/lazarus/
components/
synedit/units/powerpc-darwin/synedittypes.o
unknown stabs type 0xC0 in /Users/az/Programmierung/lazarus/
components/
synedit/units/powerpc-darwin/synedittextbuffer.o
unknown stabs type 0xE0 in /Users/az/Programmierung/lazarus/
components/
synedit/units/powerpc-darwin/synedittextbuffer.o
unknown stabs type 0xC0 in /Users/az/Programmierung/lazarus/
components/
synedit/units/powerpc-darwin/syntextdrawer.o
unknown stabs type 0xE0 in /Users/az/Programmierung/lazarus/
components/
synedit/units/powerpc-darwin/syntextdrawer.o
unknown stabs type 0xC0 in /Users/az/Programmierung/lazarus/
components/
synedit/units/powerpc-darwin/synregexpr.o
unknown stabs type 0xE0 in /Users/az/Programmierung/lazarus/
components/
synedit/units/powerpc-darwin/synregexpr.o
unknown stabs type 0xC0 in /Users/az/Programmierung/lazarus/
components/
synedit/units/powerpc-darwin/synexporthtml.o
unknown stabs type 0xE0 in /Users/az/Programmierung/lazarus/
components/
synedit/units/powerpc-darwin/synexporthtml.o
unknown stabs type 0xC0 in /Users/az/Programmierung/lazarus/
components/
synedit/units/powerpc-darwin/synhighlightermulti.o
unknown stabs type 0xE0 in /Users/az/Programmierung/lazarus/
components/
synedit/units/powerpc-darwin/synhighlightermulti.o
987 lines compiled, 5.10 sec
albert-zeyers-macbook:lazarus az$
I am using FPC 2.2.0 (installed via the provided DMG from SF) and
Lazarus from SVN, revision 13844.
Though, Lazarus is starting after this:
albert-zeyers-macbook:lazarus az$ ./startlazarus
dyld: shared cached file is corrupt: /var/db/dyld/
dyld_shared_cache_ppc
TCarbonWidget.Create TCarbonWindow SplashForm: TSplashForm
TCarbonWindow.RegisterEvents TCarbonWindow SplashForm: TSplashForm
CarbonCommon_BoundsChanged SplashForm:TSplashForm
TCarbonWindow.SetScrollInfo TODO
TCarbonWindow.SetScrollInfo TODO
TLazarusManager.Run starting /Users/az/Programmierung/lazarus/
lazarus ...
dyld: shared cached file is corrupt: /var/db/dyld/
dyld_shared_cache_ppc
TApplication.IconChanged - TODO: convert this message...no
implementation in gtk or win32
Note: environment config file not found - using defaults
TCarbonWidget.Destroy TCarbonWindow SplashForm: TSplashForm
Then, a window pops up (a native Carbon window) which says that it
doesn't find the FPC sources. There is an Ignore-Button on this window
but I cannot click on it. I even cannot focus the window neither move
it or do anything with it. The only thing I can do is pressing Ctrl+C
in the console to break it.
Any ideas? Any hints?
Regards,
Albert Zeyer
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives