[fpc-pascal] Is it just me or... trunk cross compile failure on arm-linux
Florian Klämpfl
florian at freepascal.org
Wed Jan 8 20:38:21 CET 2014
Reinier Olislagers <reinierolislagers at gmail.com> schrieb:
>On 08/01/2014 18:01, Pierre Free Pascal wrote:
>>
>>
>>> -----Message d'origine-----
>>> De : fpc-pascal-bounces at lists.freepascal.org [mailto:fpc-pascal-
>>> bounces at lists.freepascal.org] De la part de Reinier Olislagers
>>> Envoyé : mercredi 8 janvier 2014 17:05
>>> À : FPC Mailing list
>>> Objet : Re: [fpc-pascal] Is it just me or... trunk cross compile
>>> failure on arm-linux
>>>
>>> On 08/01/2014 16:40, Pierre Free Pascal wrote:
>>>> -CaEABI fails for me,
>>>> now the correct option dis -CaEABIHF
>>> Mmm, interesting. Seems opposite on trunk. -CaEABI works; -CaEABIHF
>>> fails (I'm using current trunk as a starting compiler)
>>
>> Sorry, in fact, you need to compile the cross-compiler with
>-dFPC_ARMHF for
>> this...
>> without this only -CaEABI works indeed...
>
>Yes, I'm passing -dFPC_ARMHF in crossopt; see my original mail.
This is wrong. You have to pass FPC_ARMHF when the ARM compiler is built because armhf is considered as separate architecture. - Cparmv6 must be passed to CROSSOPT though. Nothing else is needed except when you have some strange setup.
>
>_______________________________________________
>fpc-pascal maillist - fpc-pascal at lists.freepascal.org
>http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
More information about the fpc-pascal
mailing list