On Jan 23, 2008 9:26 PM, Albert Zeyer <[EMAIL PROTECTED]> wrote:
> 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?
>

Hi,
you have to run Lazarus via Application Bundle (lazarus.app in lazarus
directory). This is also mentioned in
http://wiki.lazarus.freepascal.org/Carbon_interface_FAQ#When_I_execute_application_compiled_for_Carbon_interface.2C_it_can.27t_be_focused.


Tom

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to