[fpc-devel] FPC 2.6 fixes error building arm wince

Michael Van Canneyt michael at freepascal.org
Tue Nov 5 18:59:31 CET 2013



On Tue, 5 Nov 2013, Jonas Maebe wrote:

>
> On 05 Nov 2013, at 18:04, Michael Van Canneyt wrote:
>
>> On Tue, 5 Nov 2013, Marco van de Voort wrote:
>>
>>> In our previous episode, Jonas Maebe said:
>>>>
>>>>> Does C:\Users\dimitris\Programming\Tools\fpc\2.6.x\source\utils\bin2obj.exe exist and is it executable? What happens if you try to execute it?
>>>>>
>>>>> Yes it exists but doesn't regognized by the win 7 64 as an executable.
>>>>
>>>> It's probably an ARM/wince binary. You can probably work around the
>>>> problem by first performing a native build in the checkout directory (so
>>>
>>> No, this is generally broken since r22079
>
> The fact that it's broken since that release is not in contradiction with what I said. You can work around the problem introduced in that revision by first performing a native build, because bin2obj is only called if the css.inc file is out-of-date.
>
>>> when a dependence on a just built binobj was introduced (rather than using a
>>> global installed data2inc as for similar cases before that).
>>
>> Hmmm. To my knowledge binobj is older than data2inc. I've been using it since version 0.x of FPC.
>> So why is it not installed ?
>
> The problem is not that it's not installed. It's that you try to use the just-compiled version of that binary (by explicitly calling ../bin2obj), which may have been cross-compiled and hence non-functional on the current build system, rather than the globally installed one.

A valid point, easily fixable.

Michael.



More information about the fpc-devel mailing list