This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]