Strip vs GCC 4.0.1 MH_BUNDLE files
Strip vs GCC 4.0.1 MH_BUNDLE files
- Subject: Strip vs GCC 4.0.1 MH_BUNDLE files
- From: Mike Richmond <email@hidden>
- Date: Tue, 7 Feb 2006 14:25:17 +0000
We build MH_BUNDLE files (i.e with "gcc -bundle ...") which we strip thus:
strip -u -r -s <exports-file> <bundle>
This works fine when the bundle is built with GCC 3.3 but with GCC
4.0.1 strip reports:
strip: symbols referenced by relocation entries that can't be
stripped in: <bundle>
and lists many symbols. FWIW these symbols are from C++ classes. I
get a similar report irrespective of whether the bundle is fat or
thin.
If I extend my GCC 4.0.1 link command to include:
-exported_symbols_list <exports-file> -Wl,-x
then I end up with a bundle which is stripped similarly to my GCC 3.3 bundle.
Am I missing something with strip vs GCC 4.0.1 bundles?
TIA,
Mike Richmond
Global Graphics Software Ltd
_______________________________________________
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