Re: __attribute__((constructor)) in dylib does not run with DYLD_INSERT_LIBRARIES
Re: __attribute__((constructor)) in dylib does not run with DYLD_INSERT_LIBRARIES
- Subject: Re: __attribute__((constructor)) in dylib does not run with DYLD_INSERT_LIBRARIES
- From: Markus Hitter <email@hidden>
- Date: Tue, 1 Mar 2005 10:20:39 +0100
Am 01.03.2005 um 00:58 schrieb Brian Dantes:
If this were a static library, you certainly would expect any static
constructors to run that were defined in that library.
(No). Constructors should be run when an object is created, if it is
"used".
With your understanding, behaviour of a program would be different
depending on wether unused code is stripped or not.
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden