Linking with xcode

LWStrike
Unregistered
 
Post: #1
I notice when i have a link missing in my app the compiler does not mention it and i find out about the problem when i run the code. In samples i seen the compiler allways said if it was missing a link. How can i make my apps do this? Why doesnt it do this automaticly (whats the point of building an app that cant run!)
Quote this message in a reply
Moderator
Posts: 3,554
Joined: 2003.06
Post: #2
I can't quite comprehend exactly what you are trying to ask. I can say however that Xcode has a feature called zero-link turned on by default, which many newcomers miss. It helps build things quicker on the development machine. If you try to run them on another machine the app won't work. To configure the build for running on other machines (build without zero-link) you need to do Project->Set Active Build Configuration->Release to turn off zero-link. To turn it back on, just select Debug instead. Note: You might need to clean the project before you build it again to get the setting to take effect.
Quote this message in a reply
LWStrike
Unregistered
 
Post: #3
I found that zero link option. It is so notice not to get an exit error a min or 2 after i ran my app (like directly after loading images >_<) It also reported a few more then i knew about. I think i dislike zero link.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  XCode 3.1 Broke UB Linking Jake 6 4,882 Mar 11, 2008 02:33 PM
Last Post: Jake
  Linking to dylib in xCode Jones 6 4,746 Jun 26, 2006 02:08 PM
Last Post: OneSadCookie