• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Ld -U (Undefined Symbols) argument is ignored?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Ld -U (Undefined Symbols) argument is ignored? (From: Jerry Krinock <email@hidden>)
 >Re: Ld -U (Undefined Symbols) argument is ignored? (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Ld -U (Undefined Symbols) argument is ignored? (From: Jerry Krinock <email@hidden>)
 >Re: Ld -U (Undefined Symbols) argument is ignored? (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: Ld -U (Undefined Symbols) argument is ignored?
  • Next by Date: How to get an image in an icon button?
  • Previous by thread: Re: Ld -U (Undefined Symbols) argument is ignored?
  • Next by thread: Re: Ld -U (Undefined Symbols) argument is ignored?
  • Index(es):
    • Date
    • Thread