[fpc-devel] Internal linker for wince

Yury Sidorov jura at cp-lab.com
Sun May 28 23:05:46 CEST 2006


From: "Vincent Snijders" <vsnijders at quicknet.nl>
> Yury Sidorov wrote:
>> From: "Florian Klaempfl" <florian at freepascal.org>
>>
>>> Yury Sidorov wrote:
>>>
>>>> Hello,
>>>>
>>>> I added wince support to internal linker.
>>>> Please try it and see if all works fine.
>>>> Use -Xi compiler option to enable internal linker.
>>>
>>>
>>> Good job, now the internal assembler :)
>>
>>
>> Thanks :)
>>
>> Internal assembler is a complex task. And I think it is not very critical for wince now, because internal linker does not require 
>> libpXXX.a files for smartlinking. Without smartlink libs generation external assembler is fast enough...
>
> Correct me if I am wrong, but having an internal assembler (and a internal linker) means you don't need to have arm-wince binutils 
> to cross compile to arm-wince anymore.
>
> This would simplify distribution of a Lazarus add-on that would package everything needed for creating arm-wince programs on 
> win32. Nevertheless adding the binutils to the package is not a big deal.

Sure, internal assembler is very very good :)

I did not look at current state of arm internal writer yet. Florian started to do it some time ago, but abandoned.
Florian, what need to be done to finish it? Is it very complex?

Adapting internal linker for wince was not really hard at beginning. I solved all problems relatively quickly, but I was stuck and 
was almost crazy trying to find out how to calculate correct absolute relocs for arm object files :)

Yury. 




More information about the fpc-devel mailing list