[fpc-pascal] Building Android cross compiler error

Ryan Joseph ryan at thealchemistguild.com
Tue Feb 23 08:32:50 CET 2016


Isn’t that step after the compiler has been built? I was following the guide at http://wiki.freepascal.org/Android and they said to just add to the $PATH variable and then create the config file later so I didn’t even get to that step since the compiling failed.

> On Feb 23, 2016, at 1:53 PM, Michalis Kamburelis <michalis.kambi at gmail.com> wrote:
> 
> Have you defined the -Fl option correctly?
> 
> For example, I put something like this in my ~/.fpc.cfg:
> 
> #ifdef android 
> #ifdef cpuarm 
> -Fl/home/michalis/.../android/ndk/platforms/android-19/arch-arm/usr/lib/ 
> #endif 
> #ifdef cpu386 
> -Fl/home/michalis/.../android/ndk/platforms/android-19/arch-x86/usr/lib/ 
> #endif 
> #endif
> 
> 

Regards,
	Ryan Joseph




More information about the fpc-pascal mailing list