trouble to install and buld lazarus into Raspberry Pi -- lazarus / 1-Linux ---------------------------------------------------------------------- assembly84 · 2014-09-05 08:51 Hi All .. I have trouble to install and buld  lazarus into Raspberry Pi board -- I'd run with : Code: [Select]sudo apt-get install lazarus ==> NOW it did not work for any package  again Then I try to run with  Code: [Select]./fpcup_linux_armhf --verbose --inifile=settings.ini --inisection=general after give Code: [Select]fpcopt=set default as is explain on text which include it i do not know which opt is the correct then i try to run with Code: [Select] ./fpcup_linux_armhf --verbose  so it did not work again please help me ... hiks ! ---------------------------------------------------------------------- BigChimp · 2014-09-05 08:57 No idea what you mean regarding Code: [Select]fpcopt=set default as is explain on text which include it Could you explain a bit more (exact messages/references to documentation etc). You mean that you need to set ARMHF mode? Yes, ok, but in that case I suggest you read the fpcup wiki page on ARMHF compilation and use the correct section in the ini file (described there). If necessary you can copy the section into a file of your own, edit it and use that. That makes it easier to use. Note that (with fpcup and also with regular fpc sources), ARMHF is only supported with FPC trunk (2.7.1) so make sure you set --fpcurl to the correct value. (--fpcurl=trunk IIRC, please see the fpcup wiki page for details). Quoteso it did not work again I and others are not mind readers. Please post exact error messages so we can understand what went wrong... ---------------------------------------------------------------------- assembly84 · 2014-09-05 09:49 Thanks alot BigChimp i think found whats an error...  i try to compile with  Code: [Select]  fpcopt= --dARMHF in FPC 2.6.2 -- by now i try to do this with  Code: [Select]fpcopt= -darm only .. so far ./fpcup_linux_armhf still running ---------------------------------------------------------------------- BigChimp · 2014-09-05 09:52 So you're now compiling for ARM softfloat instead of ARM hardfloat? That's not an error, that's your decision... Note: IIRC, this won't work if you have a hardfloat OS like raspbian... ---------------------------------------------------------------------- assembly84 · 2014-09-05 10:00 heheheh  BigChimp many thanks; how is a good methods to download lazarus into raspberry board ? because i can not download with Code: [Select] sudo apt-get install lazarus again ? now i try to use  with Code: [Select] fpcup_linux_armhf  --verbose to do this ? hehehehee     When you will come to my country, BigBro ? ---------------------------------------------------------------------- assembly84 · 2014-09-05 10:46 Thanks BigChimp; at last .. i try to make a fresh image for Raspberry , then continue to try  Code: [Select]sudo apt-get update sudo apt-get install fpc sudo apt-get install lazarus seem's is working, but just wait. .. ---------------------------------------------------------------------- BigChimp · 2014-09-05 10:47 Right. What about this - but haven't tried this, don't own a Pi, your pizza might eat your noodles and your country may disappear... Edit your ini file to include at least Code: [Select]fpcurl=http://svn.freepascal.org/svn/fpc/trunk ; if using armhf, you MUST specify -dFPC_ARMHF in the FPC options; ; specifying in crossopt is not enough. fpcopt="-dFPC_ARMHF -CaEABIHF -CpARMV6 -CfVFPV2" See http://wiki.lazarus.freepascal.org/fpcup#Linux_ARM_cross_compiler where that is described in case of an ARMHF crosscompiler ---------------------------------------------------------------------- dogriz · 2014-09-06 08:22 Quote from: assembly84 on September 05, 2014, 12:46:04 pm... Code: [Select]sudo apt-get update sudo apt-get install fpc sudo apt-get install lazarus seem's is working, but just wait. .. I made a clean NOOBS install yesterday and cannot install fpc or lazarus from repository because of some unmet dependences!? Weird. Edit: It looks like there were some problems with binutils version. Fixed, now it installs. ---------------------------------------------------------------------- BigChimp · 2014-09-06 09:12 Thanks for posting. Quote from: dogriz on September 06, 2014, 10:22:05 amEdit: It looks like there were some problems with binutils version. Fixed, now it installs. Would be nice if you could update http://wiki.lazarus.freepascal.org/Lazarus_on_Raspberry_Pi where needed so other users don't need to search for [whatever the problem was and whatever you did to fix it] ---------------------------------------------------------------------- dogriz · 2014-09-10 20:14 Quote from: BigChimp on September 06, 2014, 11:12:43 amWould be nice if you could update http://wiki.lazarus.freepascal.org/Lazarus_on_Raspberry_Pi where needed so other users don't need to search for [whatever the problem was and whatever you did to fix it] Well, aptitude did it for me - downgraded binutils to version 2.22-8. I didn't do anything else and I don't know how to do it "by hand". ---------------------------------------------------------------------- rdohmen · 2014-09-19 13:06 Hi, What would be the command to downgrade the binutils? Some parameter after 'sudo aptitude'? thanks, René ---------------------------------------------------------------------- dogriz · 2014-10-28 18:27 Quote from: rdohmen on September 19, 2014, 03:06:19 pmHi, What would be the command to downgrade the binutils? Some parameter after 'sudo aptitude'? thanks, René Press "." for a few times to see how aptitude offers to resolve dependencies and in the end press "!" and do the install. I don't know other way.