strip -R not working on GCC 4 generated binaries?
strip -R not working on GCC 4 generated binaries?
- Subject: strip -R not working on GCC 4 generated binaries?
- From: Jim Correia <email@hidden>
- Date: Sat, 21 May 2005 08:38:06 -0400
I'm using a shell script phase with strip -R to remove selected
symbol names from the output. This has stopped working with GCC 4.
If I build a sample command line tool project which builds the source
#include <stdio.h>
void Foo()
{
printf("this is Foo\n");
}
void Bar()
{
printf("this is Bar\n");
}
int main (int argc, const char * argv[])
{
printf("Hello, World!\n");
Foo();
Bar();
return 0;
}
and then run strip -R symbols_to_strip.txt StripTest, it reports
strip: symbols names listed in: /Users/correia/Desktop/StripTest/
symbols_to_strip.txt not in: /Users/correia/tmp/build/StripTest
_Bar
_Foo
Changing nothing other than the compiler, back to GCC 3.3 makes
things work again. Has something changed in GCC 4 that I need to
account for? (I have tried all the different levels of generating
debug symbols.)
Is this a bug? I'm happy to write it up with samples for radar.
Workarounds?
Thanks,
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden