RE: Can't link deployment app with Xcode 1.5
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