OS independent packages was Re: [fpc-pascal] The new Delphi 2010 RTTI
Florian Klaempfl
florian at freepascal.org
Mon Jan 10 11:19:09 CET 2011
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.
More information about the fpc-pascal
mailing list