Fred McDavid wrote:
> I'm tinkering around with a netscape plugin. When I try to load the
> plugin (for that matter, any plugin that I've compiled myself), I get a
> bus error and netscape won't start up.
>
> So, I'd like to try compiling the plugin with libc5...Is there anyway to
> do this without mucking up my system?
You need a version of gcc which supports libc-5 as a target platform.
Check in /usr/lib/gcc-lib. If gcc supports multiple platforms they
will be listed there. E.g., if you have:
drwxrwxr-x 5 glynn root 1024 Mar 8 18:21 i586-pc-linux-gnu
drwxrwxr-x 5 root root 1024 Mar 8 19:45 i586-pc-linux-gnulibc1
then you can compile for libc-5 using
gcc -b i586-pc-linux-gnulibc1 ...
Note that some distributions change the target names.
If there is only a single subdirectory, then your version of gcc only
supports libc-6.
--
Glynn Clements <[EMAIL PROTECTED]>