• 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: Can't link deployment app with Xcode 1.5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Can't link deployment app with Xcode 1.5


  • Subject: RE: Can't link deployment app with Xcode 1.5
  • From: "Deerwood C. McCord Jr" <email@hidden>
  • Date: Thu, 6 Jan 2005 23:17:01 -0500

Conrad:

I was getting this error also. But I found my paths were screwed up for SH shell.

I discovered this by trying to execute in applescript

do shell script "ls"

It returned command not found

I then executed after much research
do shell script "echo $PATH"

It returned "$PATH:/usr/local/bin"

The $PATH variable wasn't evaluating.

As it turns out I'm using

RCEnvironment Preference pane in which I added a

PATH variable with the "$PATH:/usr/local/bin"

I removed this and My Xcode executed ld and c++filt.

Sucks that is was that simple and force me to ld from the shell but

do shell script uses the same command Xcode uses and it doesn't source the same paths as the terminal

Good luck

Woody

After finally moving to Xcode 1.5, I cannot link a deployment app anymore. I get:

gcc-3.3: installation problem, cannot exec `ld': No such file or directory
gcc-3.3: installation problem, cannot exec `c++filt': No such file or directory

A debug build style works, since it's using ZeroLink. I have un-installed the developer tools, re-installed, and still this problem happens. It's not limited to my project, either. If I make a new Cocoa App project using the template, the same thing happens. Using 'whereis' on both ld and c++filt show them both to be in /usr/bin. Also, If I copy the failed link command from the Xcode build results window to a terminal and execute the command, it actually links. Does anybody know what could be going on here?


Thanks,
Conrad

 _______________________________________________
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

  • Prev by Date: Re: Per-file compiler flags - documentation does match reality
  • Next by Date: Distributing Xcode projects
  • Previous by thread: Re: Bug in Apple's Calculator App? (Off topic)
  • Next by thread: Distributing Xcode projects
  • Index(es):
    • Date
    • Thread