[fpc-pascal] Different idea

Chris Moody inquiry at greensnakedesign.com
Wed Aug 19 06:11:03 CEST 2015



On 08/18/2015 02:34 PM, Chris Moody wrote:
> On 08/18/2015 02:29 PM, Graeme Geldenhuys wrote:
>> On 2015-08-18 21:03, Chris Moody wrote:
>>> Or perhaps even better,
>>> how can I get the command Lazarus sends to FPC from my computer so I 
>>> can
>>> issue it on the Pi?
>>
>> "Project -> Project Options -> Show Options"
>>
>> 'Show Options' is a button at the bottom of the dialog.
>>
>> Regards,
>>    - Graeme -
>>
>>
>
> thanks, so I see the following:
>
>  -MObjFPC -Scghi -Cg -O1 -g -gl -l -vewnhibq -Filib/x86_64-linux 
> -Fusynapse 
> -Fu/usr/share/lazarus/1.4.2/components/lazutils/lib/x86_64-linux 
> -Fu/usr/share/lazarus/1.4.2/packager/units/x86_64-linux -Fu. 
> -FUlib/x86_64-linux
>
> So I would just need to change x86_64-linux to something like arm-linux?
>
> Chris
> _______________________________________________

I'm back, with more questions, I tried to compile Lazarus on the Pi and 
it got to this point:

make bigide
make -C packager/registration
make[1]: Entering directory '/home/pi/lazarus/packager/registration'
/bin/rm -f ../units/arm-linux/fcllaz.ppu
/usr/bin/ppcarm -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -Fu. 
-Fu/usr/lib/fpc/2.6.4/units/arm-linux/rtl -FE. -FU../units/arm-linux 
-darm fcllaz.pas
Hint: (11030) Start of reading config file /home/pi/.fpc.cfg
Hint: (11031) End of reading config file /home/pi/.fpc.cfg
Free Pascal Compiler version 2.6.4 [2014/03/21] for arm
Copyright (c) 1993-2014 by Florian Klaempfl and others
(1002) Target OS: Linux for ARMEL
(3104) Compiling fcllaz.pas
(3104) Compiling registerfcl.pas
/home/pi/lazarus/packager/registration/registerfcl.pas(45,22) Fatal: 
(10022) Can't find unit process used by RegisterFCL
Fatal: (1018) Compilation aborted
Makefile:2299: recipe for target 'fcllaz.ppu' failed
make[1]: *** [fcllaz.ppu] Error 1
make[1]: Leaving directory '/home/pi/lazarus/packager/registration'
Makefile:3050: recipe for target 'registration' failed
make: *** [registration] Error 2

Any suggestions on how to fix this? Or does anyone have a current 
version of Lazarus compiled for the Pi? Or can I compile and install 
just the units of Lazarus without full installing of it?

Thanks once again,

Chris



More information about the fpc-pascal mailing list