Re: Ld -U (Undefined Symbols) argument is ignored?
Re: Ld -U (Undefined Symbols) argument is ignored?
- Subject: Re: Ld -U (Undefined Symbols) argument is ignored?
- From: Jerry Krinock <email@hidden>
- Date: Sun, 20 Apr 2008 08:03:39 -0700
Hi again, Jean-Daniel.
I disagree with only one thing that you wrote:
On 2008 Apr, 20, at 6:38, Jean-Daniel Dupas wrote:
I'm not a -Wl expert
That is wrong. YOU ARE A -Wl EXPERT!
Your suggestion:
-Wl,-U -Wl,.objc_class_name_NonhierarchicalStore -Wl,-U -
Wl,.objc_class_name_Store -Wl,-U -Wl,.objc_class_name_Browfile
solved the problem.
And, of course you were correct about gcc being the program invoked.
The reason why -Wl, did not work for me earlier is that I only put -
Wl, before each -U but not before each symbol name as you did.
I feel it is quite odd that Xcode would not prepend the -Wl, as
necessary to the "Other Linker Flags". Apparently, anything you put
in there needs a -Wl, prefix. Oh well, now one more person knows the
secrets of Wl,.
Now my kludge is gone and I no longer need to build twice. Thank you
very much!
Jerry
_______________________________________________
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