Subj : Re: libjs.a Linux compatiblity To : netscape.public.mozilla.jseng From : "Rob Swindell" Date : Tue Jul 22 2003 11:29 pm "Brendan Eich" wrote in message news:3F1E0811.7060901@meer.net... > Rob Swindell wrote: > > >Again, I'm surprised there hasn't been more feedback on this subject. > > > >Is no one else distributing libjs.a or libjs.so for Linux? > > > > > > Mozilla distributions come with libmozjs.so. Linux binary compatibility > in light of GCC versionitis and ABI shifts, combined with bad > distributor choices, is a nightmare. What can I say? Well, I mainly just wanted acknowledgement of the initial problem, and the solution (the minor modification to config/Linux_All.mk that I mentioned earlier). > Linux needs to fix that, do a proper HAL so device plug-n-play works as > well as on Windows, and fix a few other big ticket items before it can > take over the desktop. I agree. It is nice to know that dynamically shared objects (AKA DSOs, lib*.so files) are supposed to be forward compatible, but they must be linked with gcc/g++ (not ld) in order for the symbols to be properly versioned and achieve this forward compatibility. The libmozjs.so included with RH Linux 9 does not appear to be symbol-versioned. -Rob .