This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [www] 3.2 ABI Compatibility issues
> > > + --enable-threads=posix -enable-shared
--enable-shared
> > Loren has indicated that --enable-threads=posix is the default for BSD
> > as well. So really, at this point, I think your instructions are valid
> > for both BSD's and Linux.
>
> So we require BSD folks to use glibc (I'm aware of Bruno Haible's FreeBSD
> glibc port but am not sure all the BSD folks would like this)?
Ok. Well, this is probably not going to happen.
Linux users have __cxa_atexit in libc, and can use it when configured
correctly, which means that destructors will actually be destroyed in
the correct order.
I don't know if BSD users have it in their libc. If BSD has it in libc,
it should be used. I guess that was my point.
-benjamin