| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Monday, September 22, 2003, at 06:04 PM, Jim Wintermyre wrote:
If I run strip manually from the command line on the output MachO binary (inside the MacOS folder in the built package), it works as expected. In this case I was using the -x flag, and it stripped all the symbols except the global ones I had explicitly exported via the exports file. nm then shows only these global names, along with any undefined externals (as expected). However, if I add STRIPFLAGS to the PB project, it doesn't seem to do anything, no matter what options I add. I'm sure I'm probably just doing something dumb in PB. Any ideas?
The "STRIPFLAGS" build setting is only followed if you do an install build, which you can manually do by running "pbxbuild install" in the project bundle's directory from the command line, or by setting some other build settings in the project. See <http://developer.apple.com/documentation/ReleaseNotes/DeveloperTools/ PBBuildSettings.html> for details.
If you don't want to do an install build, but just want to run "strip" on the binary produced by building in PB, you can do it from a shell script build phase instead...
| References: | |
| >Re: PB/GCC exports/statics questions (From: Nick Zitzmann <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.