Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2008-11

How to build 2.2.2-crosscompiler for arm-linux ?

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Koenraad Lelong

Hello,
In the past I built numerous fpc-crosscompilers for arm-linux but now I can't anymore.
What I did :
Downloaded and extracted fpcbuild-2.2.2.tar.gz
make CPU_TARGET=arm OS_TARGET=linux NOGDB=1 NODOCS=1 crosszipinstall This complains that ppcrossarm is not found !
If I do the same with 2.2.0 I do get my crosscompiler.

I did build some crosscompilers with 2.2.2, but I didn't realise that the previous ppcrossarm was used. Now I started with a brand-new virtual machine and I encountered those problems.

Any help ?

Regards,
Koenraad Lelong.

Joost van der Sluis
to Koenraad Lelong

Op zaterdag 29-11-2008 om 19:48 uur [tijdzone +0100], schreef Koenraad Lelong:

Show quoted text 8 lines
Hello, In the past I built numerous fpc-crosscompilers for arm-linux but now I can't anymore. What I did : Downloaded and extracted fpcbuild-2.2.2.tar.gz make CPU_TARGET=arm OS_TARGET=linux NOGDB=1 NODOCS=1 crosszipinstall This complains that ppcrossarm is not found ! If I do the same with 2.2.0 I do get my crosscompiler.

I would guess that 'crosszipinstall' creates the installation into zip-files. For that the compiler already has to be compiled. Try a 'clean all' instead of 'crosszipinstall'. And it could be that you have to specify the start-compiler with 'PP=ppcx386'

Joost

Koenraad Lelong
to Joost van der Sluis
Joost van der Sluis wrote 18 lines
Op zaterdag 29-11-2008 om 19:48 uur [tijdzone +0100], schreef Koenraad Lelong: > Hello, > In the past I built numerous fpc-crosscompilers for arm-linux but now I > can't anymore. > What I did : > Downloaded and extracted fpcbuild-2.2.2.tar.gz > make CPU_TARGET=arm OS_TARGET=linux NOGDB=1 NODOCS=1 crosszipinstall > This complains that ppcrossarm is not found ! > If I do the same with 2.2.0 I do get my crosscompiler. I would guess that 'crosszipinstall' creates the installation into zip-files. For that the compiler already has to be compiled. Try a 'clean all' instead of 'crosszipinstall'. And it could be that you have to specify the start-compiler with 'PP=ppcx386' Joost

Thanks,
PP=ppc386 did the trick.
B.T.W. is there documentation about crosscompiling ?

Regards,
Koenraad Lelong.

Florian Klaempfl
to Koenraad Lelong
Show quoted text 20 lines
Joost van der Sluis schreef: > Op zaterdag 29-11-2008 om 19:48 uur [tijdzone +0100], schreef Koenraad > Lelong: >> Hello, >> In the past I built numerous fpc-crosscompilers for arm-linux but now I >> can't anymore. >> What I did : >> Downloaded and extracted fpcbuild-2.2.2.tar.gz >> make CPU_TARGET=arm OS_TARGET=linux NOGDB=1 NODOCS=1 crosszipinstall >> This complains that ppcrossarm is not found ! >> If I do the same with 2.2.0 I do get my crosscompiler. > I would guess that 'crosszipinstall' creates the installation into > zip-files. For that the compiler already has to be compiled. Try a > 'clean all' instead of 'crosszipinstall'. And it could be that you have > to specify the start-compiler with 'PP=ppcx386' > > Joost > Thanks, PP=ppc386 did the trick.

This should be fixed trunk.