[fpc-pascal] Installing FPC 2.5.1 in Mac OS X

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Fri Apr 15 21:42:07 CEST 2011

Ok, very wierd now =D

If I go to the command line and type:

user-46-113-151-158:cocoa felipe$ /usr/local/lib/fpc/2.5.1/ppc386
-MObjFPC -Scghi -O1 -gl  -k-framework -kCocoa -WG -vewnhi -l
-Filib/i386-darwin -Fu../../lazarus/lcl/units/i386-darwin/cocoa
-Fu../../lazarus/packager/units/i386-darwin -Fu. -FUlib/i386-darwin/
-va -dLCL -dLCLcocoa cocoatest.lpr

It works fine (I just copied the options which Lazarus says it uses)

But form the IDE I get:

Options changed, recompiling clean with -B
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.5.1 [2011/04/15] for i386
Copyright (c) 1993-2011 by Florian Klaempfl and others
Target OS: Darwin for i386
Compiling cocoatest.lpr
Compiling mainform.pas
Assembling (pipe) /Users/felipe/Programas/tests/cocoa/lib/i386-darwin/mainform.s
Assembling (pipe)
cocoatest.lpr(15,32) Error: resource compiler "fpcres" not found,
switching to external mode
cocoatest.lpr(15,32) Fatal: There were 1 errors compiling module, stopping

Felipe Monteiro de Carvalho

More information about the fpc-pascal mailing list