OS independent packages was Re: [fpc-pascal] The new Delphi 2010 RTTI

alexvins at mail.ru alexvins at mail.ru
Mon Jan 10 11:28:24 CET 2011


10.01.2011 13:19, Florian Klaempfl пишет:
> Am 10.01.2011 11:16, schrieb alexvins at mail.ru:
>> 10.01.2011 13:05, michael.vancanneyt at wisa.be пишет:
>>>
>>> On Mon, 10 Jan 2011, Vincent Snijders wrote:
>>>
>>>> 2011/1/10 alexvins at mail.ru<alexvins at mail.ru>:
>>>>> But I want packages to be binary portable between OS (on target
>>>>> processor
>>>>> architecture)
>>>>
>>>> I don't think that is feasible, unless you don't use any OS features.
>>> Exactly.
>>>
>>> Even just because FPC supports multiple CPUs; You can't use an i386
>>> package on SPARC or ARM.
>>>
>>> So you'll always have to recompile your package for all platforms that
>>> you want to support.
>>>
>>>
>> But only for all processors, not for all existing combinations of
>> processor and OS.
> The rtl package is OS specific anyways and as soon as you depend on the
> rtl package (an fpc package will always depend on it), you need to build
> your package for any FPC version, processor and OS combination.
>
I have a few drafts of another design 
http://wiki.freepascal.org/User:AlexVinS/Packages




More information about the fpc-pascal mailing list