[fpc-devel] about freepascal for mips

Florian Klämpfl florian at freepascal.org
Fri May 25 22:35:26 CEST 2012


Am 25.05.2012 21:04, schrieb Jeppe Græsdal Johansen:
> Den 25-05-2012 13:54, Jonas Maebe skrev:
>>
>> Fuxin Zhang wrote on Fri, 25 May 2012:
>>
>>> And my progress and problems:
>>>   I've got the source from subversion and tried to build it in ubuntu
>>> 11.10 x86-64 machine. With the following patch and commands, I can get a
>>> partly working ppcrossmipsel(it can at least build a helloworld and
>>> runnable):
>>> patch:
>>>   Index: Makefile.fpc
>>> ===================================================================
>>> --- Makefile.fpc    (版本 21354)
>>> +++ Makefile.fpc    (工作副本)
>> [snip]
>>> This is to fix various file not found errors. I am not sure whether
>>> it is
>>> 'right' fix.
>>
>> No, definitely it's definitely not right. It's strange that you need
>> those changes, since the Linux RTL Makefile is used daily. Did you
>> need those changes even to compile it for i386?

The reason is that mipsel uses the mips include files by includes. So
when compiling other units, the compiler finds include files with wrong
dates. The easiest solution to overcome this for now is to compile with -Ur




More information about the fpc-devel mailing list