Re: [fpc-pascal] The new Delphi 2010 RTTI

2011-01-10 Thread alexv...@mail.ru
10.01.2011 15:31, Marco van de Voort пишет: In our previous episode, alexv...@mail.ru said: But I want packages to be binary portable between OS (on target processor architecture) That's effectively not possible with all OSes providing such emulation ABI. Esperanto for OSes so to

Re: [fpc-pascal] The new Delphi 2010 RTTI

2011-01-10 Thread alexv...@mail.ru
10.01.2011 14:09, michael.vancann...@wisa.be пишет: I understood that. Assuming you can make this interface (which I don't believe), your solution is still not realistic: And how will you make a package that uses a os-specific function OS independent ? (for instance, a package with a control

Re: [fpc-pascal] The new Delphi 2010 RTTI

2011-01-10 Thread alexv...@mail.ru
10.01.2011 13:50, michael.vancann...@wisa.be пишет: On Mon, 10 Jan 2011, alexv...@mail.ru wrote: 10.01.2011 13:05, michael.vancann...@wisa.be пишет: On Mon, 10 Jan 2011, Vincent Snijders wrote: 2011/1/10 alexv...@mail.ru : But I want packages to be binary portable between OS (on

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

2011-01-10 Thread alexv...@mail.ru
10.01.2011 13:19, Florian Klaempfl пишет: Am 10.01.2011 11:16, schrieb alexv...@mail.ru: 10.01.2011 13:05, michael.vancann...@wisa.be пишет: On Mon, 10 Jan 2011, Vincent Snijders wrote: 2011/1/10 alexv...@mail.ru: But I want packages to be binary portable between OS (on target processor

Re: [fpc-pascal] The new Delphi 2010 RTTI

2011-01-10 Thread alexv...@mail.ru
10.01.2011 13:05, michael.vancann...@wisa.be пишет: On Mon, 10 Jan 2011, Vincent Snijders wrote: 2011/1/10 alexv...@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 O

Re: [fpc-pascal] The new Delphi 2010 RTTI

2011-01-10 Thread alexv...@mail.ru
10.01.2011 12:58, Matt Emson пишет: On 10/01/2011 09:26, alexv...@mail.ru wrote: If so, there must be an executable format supported by all FPC target platforms natively. I don't know any such format. We have to duplicate some OS functions to make things crossplatform. I don't

Re: [fpc-pascal] The new Delphi 2010 RTTI

2011-01-10 Thread alexv...@mail.ru
10.01.2011 12:50, michael.vancann...@wisa.be пишет: Why ? There is no need for that; You can perfectly use the OS functionality. All you need to do is add a layer on top which hides the OS specifics. Borland could do it, so we can do it too. The main problem is the Windows target where a li

Re: [fpc-pascal] The new Delphi 2010 RTTI

2011-01-10 Thread alexv...@mail.ru
10.01.2011 12:05, Sven Barth пишет: No, FPC should rely on the operating system for dynamic linking. There is no use in duplicating a functionality that is already there. One "just" needs to spot all problems that might arise on different platforms when using dynamic libraries (e.g. symbol reso

Re: [fpc-pascal] The new Delphi 2010 RTTI

2011-01-09 Thread alexv...@mail.ru
24.12.2010 17:31, Sven Barth пишет: Yeah... and only works on i386- and x86_64-linux. Runtime packages will come sooner or later, maybe not this year (ok... that's hard to beat ^^) and maybe not next year. But when they come they'll be implemented in a good cross platform way without such ha

Re: [fpc-pascal] The new Delphi 2010 RTTI

2010-12-23 Thread alexv...@mail.ru
23.12.2010 17:52, Marco van de Voort пишет: In our previous episode, alexv...@mail.ru said: Therefore, until the time someone finds a cross-platform way to implement packages, I see no reason not to start on RTTI. They can perfectly be implented independently or even in parallel. Wine has

Re: [fpc-pascal] The new Delphi 2010 RTTI

2010-12-23 Thread alexv...@mail.ru
22.12.2010 21:52, Michael Van Canneyt пишет: Therefore, until the time someone finds a cross-platform way to implement packages, I see no reason not to start on RTTI. They can perfectly be implented independently or even in parallel. Wine has ability to load windows libraries on linux. This