On Fri, Jan 12, 2001 at 09:10:44AM +0100, Valeri Todorov wrote:
> > > Anyone knows about compiling Mozilla under Win32 with a free compiler?
> > > Preferred is GCC/EGCS (mingw32 version), but any other free one is ok.
> >
> > The only compiler/make system known to work is MSVC. It shouldn't be too
> > much work to get the *code* to compile under gcc/egcs, but the make system
> > would have to be revamped. Chris Seawood has worked on that on and off for a
> I agree, that perhaps it won't be hard to make mozilla to compile with other
> win32 compilers, but there is another problem. There are ppl out there that
> develop program based on mozilla and they might have problems *if* they use
> different compiler. Problem is that mozilla uses classes for creating
> instances of object, instead of C API like CoCreateInstance. These classes
> will have their names mangled differently which will produce errors at link
> time. I think it would be a good idea to have C functiona for creating and
> registering classes - this will make things almost compiler independant, since
> most C++ compilers I've used actually generate code which is binary compatible
> in terms of accessing vtbl etc.
>
Isn't the point of COM (and XPCOM) to avoid this nonsense?
It should work just fine, since all objects in mozilla are XPCOM objects.
ari