[Lazarus] OS X/Carbon Compilation

Marco van de Voort marcov at stack.nl
Wed Feb 27 09:07:15 CET 2008


On Tue, Feb 26, 2008 at 10:56:08PM +0100, Damien Gerard wrote:
> > Or remove the X11 dependency, since you're compiling for carbon.
> 
> I will try but I don't know how to do this.
> I assume fpcmake should rebuild the Makefile from Makefile.fpc but  
> under OS X when I try to use it I always have the error:
> 
> Shani [milipili] /usr/local/share/lazarus/lcl/interfaces/carbon %  
> fpcmake 
>                                                                                                                                                                                 22 
> :51 #9
> Processing Makefile.fpc
> Error: Target "darwin", package "rtl" not found
> 
> (In fact I never was able to make fpcmake work)

fpcmake recursively resolves dependancies and needs to find the RTL source
or package.fpc files. Easiest is to set FPC_DIR to the FPC source and do a 

fpcmake -w -Tall

( -w is to write file, default is/was test, -Tall is process all OSes)
this is btw all in the manual.



More information about the Lazarus mailing list