Re: stripping symbols from NKE (kext)
Re: stripping symbols from NKE (kext)
- Subject: Re: stripping symbols from NKE (kext)
- From: Timothy Standing <email@hidden>
- Date: Thu, 18 Jul 2002 09:25:48 -0700
Message: 3
Date: Wed, 17 Jul 2002 14:22:05 -0500
To: Peter Lovell <email@hidden>, email@hidden
From: Brian Bergstrand <email@hidden>
Subject: Re: stripping symbols from NKE (kext)
At 3:07 PM -0400 7/17/02, Peter Lovell wrote:
What's the right way to strip extra symbols from an NKE-style kext
>(not IOKit one).
>
>I need to keep just the start and stop entry points, but can't seem
>to get it right. Or can it not be done within PB, but requires a
separate "strip" post-process step?
Thanks.....Peter Lovell
PB never seems to do the strip. I always use strip -x from the CLI.
--
Brian Bergstrand
<http://www.classicalguitar.net/brian/> PGP Key ID: 0xB6C7B6A2
Unix is user-friendly -- it's just selective about it's friends.
--__--__--
Message: 4
Date: Wed, 17 Jul 2002 13:46:11 -0700
Subject: Re: stripping symbols from NKE (kext)
Cc: Peter Lovell <email@hidden>, email@hidden
To: Brian Bergstrand <email@hidden>
From: Dean Reece <email@hidden>
PB will strip the kext if you set the "Build Style" (in the "Targets"
tab) to "Deployment".
Cheers,
- Dean
If I build all four executables in my application (including the
kext and helper tools) in deployment mode (with 4/02 Dev Tools), I
can strip more than 1.5 MB from the application bundle by running
strip -x on each of the executables. It doesn't seem like PB is
actually doing the strip. Is it PB supposed to be stripping symbols
when you use deployment mode? If so, it looks like it is broken.
Tim Standing
SoftRAID, LLC
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.