[fpc-pascal] The new Delphi 2010 RTTI

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Mon Jan 10 11:50:22 CET 2011



On Mon, 10 Jan 2011, alexvins at mail.ru wrote:

> 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.

You should re-read Florian's email, and *fully* understand the consequences.

Your proposal requires that we emulate all OSes on all other OSes, because
the basic package (rtl or whatever it will be called) always depends on the 
OS. There is no way around this.

Michael.


More information about the fpc-pascal mailing list