[fpc-pascal] Android cross-compiler: arm-linux-androideabi- binutilsprefix

Reinier Olislagers reinierolislagers at gmail.com
Sun Dec 29 14:34:52 CET 2013


On 29/12/2013 14:22, Florian Klämpfl wrote:
> Am 29.12.2013 14:12, schrieb Reinier Olislagers:
>> Does fpc (trunk) require arm-linux-androideabi- ?
>> (And if so, why?)
> 
>>From fpc/compiler/options.pas:
> 
>   { Set up a default prefix for binutils when cross-compiling }
>   if source_info.system<>target_info.system then
>     case target_info.system of
>       { Use standard Android NDK prefixes }
>       system_arm_android:
>         utilsprefix:='arm-linux-androideabi-';
>       system_i386_android:
>         utilsprefix:='i686-linux-android-';
>     end;

Thanks.
I see I probably copied over the wrong directory from the NDK: the one
from arm-linux has
android-ndk-r9c\toolchains\arm-linux-androideabi-4.8\prebuilt\windows-x86_64\arm-linux-androideabi\bin\as.exe
etc
as well as
D:\cop\t\android-ndk-r9c\toolchains\arm-linux-androideabi-4.8\prebuilt\windows-x86_64\bin\arm-linux-androideabi-as.exe

Sorry about that; I'll fix things up, try again... and get back if needed.




More information about the fpc-pascal mailing list