[fpc-devel] Building cross-compiler for arm-linux on win32

Nikolai Zhubr n-a-zhubr at yandex.ru
Sun Dec 16 19:01:10 CET 2018


Hi,

It seems I've finally cracked this puzzle, somewhat.

My self-built binutils were initially configured for "arm-linux" (That 
is, configure --target="arm-linux"). As soon as I changed this to 
"armv7-linux-gnueabi" (basically as a random guesswork) and rebuilt it 
all including the cross-fpc and my helloworld test on host x86_64-linux 
box again, I do not get much complaints from the build process anymore 
and the resulting executable appeared runnable on the arm device!

Now going to retry it on windows again...


Thank you!

Regards,
Nikolai


16.12.2018 20:20, Nikolai Zhubr:
> Not exactly true. There is a release named "for raspberry" which is
> 3.0.4 and actually it seems usable for my board as well. Just installed
> it there, tested that same helloworld, and it worked!
> Wierd.
>
>
> Thank you!
>
> Regards,
> Nikolai
>
>> download link goes to 3.0.2 version instead. Why is that? Is there any
>> known problem with 3.0.4 on arm or rather it is supposed to be
>> functionally identical to 3.0.2 ?
>>
>>
>> Thank you!
>>
>> Regards,
>> Nikolai
>>
>>>
>>>
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel




More information about the fpc-devel mailing list