gcc installation error
gcc installation error
- Subject: gcc installation error
- From: Charles Hardnett <email@hidden>
- Date: Tue, 18 Nov 2008 15:38:34 -0500
Hi,
I hope someone can help with this. My
Xcode had been working flawlessly until last week. I was building some
C++/C code and got an error about the gcc installation. There was nothing
fancy in this code, it was a basic demo for my class. I then tracked it
down quickly in class, and made a few symbolic links to the directory that
Xcode seemed to be looking for the gcc and g++ compilers: /Developer/Library/Xcode/Plug-ins/GCC\
4.0.xcplugin/Contents/Resources/
(I know that the real solution is not
the symlinks, but it worked and got me through the demo)
After that, it worked. This week, I
was testing some demo ideas for objective C, and the same error popped
up, but this time for the Iphone Platform:
2008-11-18 15:22:03.576 xcodebuild[59463:2a8b]
Warning: Couldn't discover the 'gcc' compiler's built-in search paths
and preprocessor definitions for language dialect 'objective-c'. This
may lead to indexing issues.
Compiler: /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/GCC
4.0.xcplugin/Contents/Resources/gcc
Reason: gcc: installation problem,
cannot exec '/usr/bin/arm-apple-darwin9-gcc-4.0.1': No such file or directory
Again I am getting a similar problem,
but now its for the iphone platform and objective C (which still needs
the gcc compiler). There is more output at the end that shows the command
that failed:
The following build commands failed:
Counter:
ProcessPCH
/var/folders/p4/p4h0r3LS2RWfy++8ZLFRBU+++TU/-Caches-/com.apple.Xcode.504/SharedPrecompiledHeaders/Counter_Prefix-basbhsypskvjzmalqvdkwynxnksi/Counter_Prefix.pch.gch
Counter_Prefix.pch normal armv6 objective-c com.apple.compilers.gcc.4_0
(1 failure)
Now, my problem is that I am getting
the same type of error. I have not changed any preferences related to the
installation since the time is worked and now (except the symlinks for
the other directory). Does anyone know what the fix is for this?
Another thing that works was to open
an brand new project. All of the projects that are having problems were
built between 8/10/2008 and 11/07/2008. Did something in the installations
change with a recent update? Do you I need to upgrade the project files?
If so, is there an easy way to do this?
Spelman College
"Genius is most often in the obvious"
E-Mail: email@hidden (best way to reach me)
Physical: Science Bldg Office 219 (Tapley)
Phone: 404-270-5880
Fax: 404-270-5881
WWW: http://www.spelman.edu/~hardnett
NSF-BPC CARE Program: http://www.spelman.edu/~care
Snail:
Spelman College
Computer Science Department Box #1257
350 Spelman Lane, SW
Atlanta, GA 30314 _______________________________________________
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