Hi Mike, I would like so much that what you say would be true. It would ease my life a lot. The problem is that I was not doing it before and I had to recompile the extension for each version of Firefox for each platform to let it work... The reason is that when you link with xpcom_glue. You link only with frozen interface that have to match in each version of the library. Between version other xpcom functions have changed of signature. So, it is not possible to link against XPCOM. If you are able to show me the opposite. I am opened to listen. But I have already tried and it does not unhappily work :-) Please read this: http://developer.mozilla.org/en/docs/XPCOM_Glue Marc Mike Hommey wrote: On Sun, Aug 13, 2006 at 09:39:05PM +0200, Marc Gueury <[EMAIL PROTECTED]> wrote:Hi all,I am the HTML validator extension author. I noticed this bug due to several mails I receive from Debian users. Even, if I do not use Debian distribution. The conversation, analysis is quite interesting. To answer to a particular remark above, linking to the XPCOM glue is not stupid at all !!! It is even needed. If I was linking the library to the full XPCOM of a particular firefox version. The extension would only work with that particular Firefox version. By linking to XPCOM glue, I am able to make the same extension work for Mozilla Suite, Seamonkey, Firefox 1.0, Firefox 1.5 and 2.0. Without XPCOM glue, I would need 5 Linux binaries for the same program what is, in practice, impossible to maintain.This is just wrong. If you don't link against the glue, it works everywhere too. Mike |
- Bug#378667: XPCOM glue Marc Gueury
- Bug#378667: XPCOM glue Mike Hommey