Re: mach-o shared library entry points
Re: mach-o shared library entry points
- Subject: Re: mach-o shared library entry points
- From: Brian Greenstone <email@hidden>
- Date: Mon, 31 May 2004 08:14:44 -0500
Thanks, for the info! I also found that you can set the entry point
with a pragma like this:
#pragma CALL_ON_LOAD InitMachOLibrary
void InitMachOLibrary ()
{
}
However, I cannot seem to find where mach_header and _mh_dylib_header
are defined. I'm including the mach-o ldsysms.h and dyld.h headers,
but those don't help. Whenever I compile I get a mach_header
undeclared error. I couldn't find any mention of it on Apple's dev
site either. Anyone know where those types are defined?
Thanks,
-B
On May 31, 2004, at 1:41 AM, boga wrote:
mach_header* header = 0;
header = _mh_dylib_header;
__________________________________________________________
Brian Greenstone
President & CEO email@hidden
Pangea Software, Inc. http://www.pangeasoft.net
12405 John Simpson Ct. voice/fax: (512)266-9991
Austin, TX 78732
__________________________________________________________
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.