Am 23.01.2008 um 23:02 schrieb Hess, Philip J:
http://michael-ep3.physik.uni-halle.de/Lazarus/
Try a snapshot from here.
Thanks.
Someone should update the files on SF.
I believe an Intel Mac's can run the PowerPC version via its "Rosetta"
technology. If you want to remove the PowerPC version of Lazarus and
Free Pascal before you install the Intel version, here's what you need
to delete:
http://wiki.lazarus.freepascal.org/OS_X_Programming_Tips#Uninstalling_La
zarus_and_Free_Pascal
Ah thanks.
Though, this should be included inside the DMG later.
I have tried the x86 FPC now, made a "make clean && make [carbonopts]"
and I still get messages like this:
...
unknown stabs type 0xE0 in /Users/az/Programmierung/lazarus/
designer/../units/i386-darwin/designerprocs.o
unknown stabs type 0xC0 in ../units/i386-darwin/codemacroprompt.o
unknown stabs type 0xE0 in ../units/i386-darwin/codemacroprompt.o
unknown stabs type 0xC0 in ../units/i386-darwin/encloseselectiondlg.o
unknown stabs type 0xE0 in ../units/i386-darwin/encloseselectiondlg.o
185087 lines compiled, 29.2 sec
6 warning(s) issued
1 note(s) issued
...
Linking ../startlazarus
unknown stabs type 0xC0 in /Users/az/Programmierung/lazarus/lcl/units/
i386-darwin/interfacebase.o
unknown stabs type 0xE0 in /Users/az/Programmierung/lazarus/lcl/units/
i386-darwin/interfacebase.o
ld: atom sorting error for DEBUGSTART_LCLSTRCONSTS and
DEBUGEND_LCLSTRCONSTS in /Users/az/Programmierung/lazarus/lcl/units/
i386-darwin/lclstrconsts.o
ld: atom sorting error for DEBUGSTART_LCLSTRCONSTS and
DEBUGEND_LCLSTRCONSTS in /Users/az/Programmierung/lazarus/lcl/units/
i386-darwin/lclstrconsts.o
ld: atom sorting error for DEBUGSTART_LCLSTRCONSTS and
DEBUGEND_LCLSTRCONSTS in /Users/az/Programmierung/lazarus/lcl/units/
i386-darwin/lclstrconsts.o
ld: atom sorting error for DEBUGSTART_LCLSTRCONSTS and
DEBUGEND_LCLSTRCONSTS in /Users/az/Programmierung/lazarus/lcl/units/
i386-darwin/lclstrconsts.o
unknown stabs type 0xC0 in /Users/az/Programmierung/lazarus/lcl/units/
i386-darwin/lclproc.o
...
unknown stabs type 0xC0 in /Users/az/Programmierung/lazarus/components/
synedit/units/i386-darwin/synhighlightermulti.o
unknown stabs type 0xE0 in /Users/az/Programmierung/lazarus/components/
synedit/units/i386-darwin/synhighlightermulti.o
987 lines compiled, 4.4 sec
I can also start Lazarus and I get very much exactly the same
behaviour as last time. The only difference is that I can move the
window now, though I cannot focus it and neither click on "Ignore".
Regards,
Albert
-----Original Message-----
From: Albert Zeyer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 23, 2008 3:52 PM
To: [email protected]
Subject: Re: [lazarus] make, MacOSX
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