[fpc-pascal] Cross-compiler installation

Sven Barth pascaldragon at googlemail.com
Fri Feb 22 17:10:53 CET 2013


On 22.02.2013 15:09, silvioprog wrote:
> 2013/2/22 Henry Vermaak <henry.vermaak at gmail.com
> <mailto:henry.vermaak at gmail.com>>
>
>     On Fri, Feb 22, 2013 at 10:52:09AM -0300, silvioprog wrote:
>      > Hello,
>      >
>      > What is "cross-compiler installation" mentioned in this article?:
>      >
>      > http://wiki.freepascal.org/Android (please see:
>     http://imagebin.org/247728)
>      >
>      > And where do I download it?
>
>     The heading of that section is "Building cross compiler", so that path
>     is where the cross compiler will be installed _after_ you've built it.
>
>     Henry
>
>
> OK, but...
>
> I added the following paths on "PATH" env. variable:
>
> C:\lazarus\fpc\2.7.1\bin\i386-win32
> C:\Program Files (x86)\Android
> SDK\android-ndk-r8d\toolchains\arm-linux-androideabi-4.7\prebuilt\windows\bin
>
> And after:
>
> C:\Users\silvioprog>make crossall crossinstall OS_TARGET=android
> CPU_TARGET=arm
> INSTALL_PREFIX=C:\Develop\FPC\pp
> make: *** No rule to make target `crossall'.  Stop.
>
> How to solve it please? :(

You need to be inside the directory where your 2.7.1 source is located 
(the directory that contains the compiler, rtl, packages, etc. directory).

Regards,
Sven




More information about the fpc-pascal mailing list