Re: __attribute__((constructor)) in dylib does not run with DYLD_INSERT_LIBRARIES
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Am 01.03.2005 um 00:58 schrieb Brian Dantes: 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Markus Hitter