Re: [G2R] Re: Various releases ...
- From: Alex Hornby <alex anvil co uk>
- To: Dan Winship <danw ximian com>
- Cc: Sander Vesik <Sander Vesik sun com>,Michael Meeks <michael ximian com>, Havoc Pennington <hp redhat com>,bonobo <gnome-components-list gnome org>,orbit <orbit-list gnome org>
- Subject: Re: [G2R] Re: Various releases ...
- Date: 13 May 2002 15:29:56 +0100
On Mon, 2002-05-13 at 14:50, Dan Winship wrote:
> > The ELF init/fini sections do library initialisation/cleanup in a clean
> > way without using atexit().
>
> But GNOME runs on non-ELF platforms.
>
> -- Dan
Hi Dan,
Which ones? Are the BSDs non-elf?
The nice thing about using the GCC __attibute__ method of setting
finializers is that they work on any platform for which GCC's static
destructors work, which includes the ELF platforms and a load of non-ELF
ones as well.
Even if you don't use GCC (is GNOME ported to other compilers?), several
other projects, notably ACE+TAO, use finalizers successfully.
Cheers,
Alex.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]