Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / December 2006



Tip: Looking for answers? Try searching our database.

gcc-3.3: installation problem, cannot exec `cc1obj': No such file or directory

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
harry vs - 28 Dec 2006 18:46 GMT
Hi all,
I'm trying to build a MusicKit/SndKit example-app called 'Spectro', and
XCode (v2.4, MacOSX 10.4.8, Intel) gives me this error: 'gcc-3.3:
installation problem, cannot exec `cc1obj': No such file or directory'

I searched all over (apple adc mailing lists notably) and the problem
got mentioned, yet never solved; apart from that I fiddled with the
gcc/Universal settings in XCode (project and active target settings),
to no avail.

I saw the problem mentioned within other contexts, and the suggested
fiddlings do not solve the problem; anyone have a solution for this?

thx, Harry
Michael Ash - 28 Dec 2006 21:21 GMT
> Hi all,
> I'm trying to build a MusicKit/SndKit example-app called 'Spectro', and
> XCode (v2.4, MacOSX 10.4.8, Intel) gives me this error: 'gcc-3.3:
> installation problem, cannot exec `cc1obj': No such file or directory'

You are attempting to use gcc3 to build i386 binaries. However, Apple only
provides gcc3 that produces ppc binaries. The error you see results from
Xcode (or whoever it is) looking for 'cc1obj' (the thing that actually
does all the work) in the i386 directory but not finding one.

The fix is to use gcc4, at least for i386 builds. Unless you need
compatibility with 10.2 or below, then you might as well use it for ppc
too.

Signature

Michael Ash
Rogue Amoeba Software

harry vs - 28 Dec 2006 22:11 GMT
> You are attempting to use gcc3 to build i386 binaries. However, Apple only
> provides gcc3 that produces ppc binaries. The error you see results from
[quoted text clipped - 4 lines]
> compatibility with 10.2 or below, then you might as well use it for ppc
> too.

Thanks Michael; just wanted the demo-app Spectro to build and run
locally, eventually to use MusicKit/SndKit itself (the error comes from
a file in the project-sources, not of any used frameworks). I tried to
set usage of gcc4 in the project/active project settings, as well as
other combinations (like using the Universal SDK), to no avail. It
seems the jam build-script insists on using gcc-3.3; I get this same
error-message with every combination of XCode-settings I tried, so I
guess it is time to look at the scripts in the build-directory ... ?
Michael Ash - 28 Dec 2006 22:29 GMT
>> You are attempting to use gcc3 to build i386 binaries. However, Apple only
>> provides gcc3 that produces ppc binaries. The error you see results from
[quoted text clipped - 13 lines]
> error-message with every combination of XCode-settings I tried, so I
> guess it is time to look at the scripts in the build-directory ... ?

Ah yes, jam also cannot be used to build for i386. (Well, it probably can,
but old Project Builder targets can't, at least not that I know of.)
Upgrade your target to a native Xcode target and you should be in a bunch
better situation.

Signature

Michael Ash
Rogue Amoeba Software

harry vs - 29 Dec 2006 08:09 GMT
> Ah yes, jam also cannot be used to build for i386. (Well, it probably can,
> but old Project Builder targets can't, at least not that I know of.)
> Upgrade your target to a native Xcode target and you should be in a bunch
> better situation.

It turned out that changing GCC Compiler Settings in the Simple View of
the Active Target Settings, like setting it to GCC v4.0, didn't change
anything; I found out by opening the Expert View, which showed CC and
CPLUSPLUS still on 3.3; changing them here (into 4.0) did work!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.