On 08/01/2014 20:38, Florian Klämpfl wrote: > Reinier Olislagers <reinierolislag...@gmail.com> schrieb: >> On 08/01/2014 18:01, Pierre Free Pascal wrote: >>>> -----Message d'origine----- >>>> De : fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal- >>>> boun...@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.
Ah, thanks a lot - that helps! Now passing --fpcopt=-fPIC -dFPC_ARMHF --crossopt=-CpARMV6 -CaEABIHF -CfVFPV2 with trunk compiler as a bootstrap compiler works nicely Thanks again, Reinier _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal