 |
|
 |
|
Next: problem with applicationShouldHandleReopen
|
| Author |
Message |
External

Since: Aug 03, 2006 Posts: 2
|
(Msg. 1) Posted: Thu Aug 03, 2006 12:22 pm
Post subject: cannot exec cc1 Archived from groups: comp>sys>mac>programmer>tools (more info?)
|
|
|
I am running Mac OS X 10.4.7 and am trying to compile a C program. I
need to use gcc-3.3 as that is what Matlab requires (using the mex
function). Anyway, when I try to compile it can't seem to find cc1:
$ gcc-3.3 -o bob bob.c
gcc-3.3: installation problem, cannot exec `cc1': No such file or
directory
I have looked all over trying to figure out where cc1 is, but can't
find it. I tried installing several things on the install disk.
What package do I need to install in order to be able to compile? >> Stay informed about: cannot exec cc1 |
|
| Back to top |
|
 |  |
External

Since: Dec 16, 2003 Posts: 288
|
(Msg. 2) Posted: Thu Aug 03, 2006 4:29 pm
Post subject: Re: cannot exec cc1 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
wrote:
> I am running Mac OS X 10.4.7 and am trying to compile a C program. I
> need to use gcc-3.3 as that is what Matlab requires (using the mex
> function). Anyway, when I try to compile it can't seem to find cc1:
>
> $ gcc-3.3 -o bob bob.c
> gcc-3.3: installation problem, cannot exec `cc1': No such file or
> directory
>
> I have looked all over trying to figure out where cc1 is, but can't
> find it. I tried installing several things on the install disk.
>
> What package do I need to install in order to be able to compile?
>
Sounds like you're running on an Intel Mac ? If so then you're out of
luck - you'll have to use gcc 4.0.1.
Paul >> Stay informed about: cannot exec cc1 |
|
| Back to top |
|
 |  |
External

Since: Aug 03, 2006 Posts: 2
|
(Msg. 3) Posted: Thu Aug 03, 2006 4:46 pm
Post subject: Re: cannot exec cc1 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
I *am* on an Intel mac. I'll try 4.0.1 tomorrow. Is this documented
somewhere? I looked around and it seems to say gcc-3.3 for the Mac, but
it did not distinguish between Intel and non-Intel. Anyway, thanks...
Paul Russell wrote:
> wrote:
>
> > I am running Mac OS X 10.4.7 and am trying to compile a C program. I
> > need to use gcc-3.3 as that is what Matlab requires (using the mex
> > function). Anyway, when I try to compile it can't seem to find cc1:
> >
> > $ gcc-3.3 -o bob bob.c
> > gcc-3.3: installation problem, cannot exec `cc1': No such file or
> > directory
> >
> > I have looked all over trying to figure out where cc1 is, but can't
> > find it. I tried installing several things on the install disk.
> >
> > What package do I need to install in order to be able to compile?
> >
>
> Sounds like you're running on an Intel Mac ? If so then you're out of
> luck - you'll have to use gcc 4.0.1.
>
> Paul >> Stay informed about: cannot exec cc1 |
|
| Back to top |
|
 |  |
External

Since: Dec 16, 2003 Posts: 288
|
(Msg. 4) Posted: Thu Aug 03, 2006 5:08 pm
Post subject: Re: cannot exec cc1 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
wrote:
> I *am* on an Intel mac. I'll try 4.0.1 tomorrow. Is this documented
> somewhere? I looked around and it seems to say gcc-3.3 for the Mac, but
> it did not distinguish between Intel and non-Intel. Anyway, thanks...
>
I'm not sure if Matlab is a universal binary yet (?), so writing a
PowerPC .mex for it on an Intel Mac might be tricky. If it's
PowerPC-only then you'll need to make sure that you're building PowerPC
code, i.e.
% gcc -arch ppc -o bob bob.c
Good luck,
Paul >> Stay informed about: cannot exec cc1 |
|
| Back to top |
|
 |  |
External

Since: Dec 16, 2003 Posts: 288
|
(Msg. 5) Posted: Fri Aug 04, 2006 8:22 am
Post subject: Re: cannot exec cc1 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Ben Artin wrote:
> In article , Paul Russell
> wrote:
>
>
>>Sounds like you're running on an Intel Mac ? If so then you're out of
>>luck - you'll have to use gcc 4.0.1.
>
>
> That is incorrect. gcc 3.3 works just fine on Intel Macs, as long as you check
> the checkbox in the developer tools installer that installs gcc 3.3.
>
It does ? In that case I apologise for giving misleading information. I
know I've seen the same (or similar) problem with gcc 3.3 before and
must have mis-remembered the cause.
Paul >> Stay informed about: cannot exec cc1 |
|
| Back to top |
|
 |  |
External

Since: Jun 20, 2005 Posts: 30
|
(Msg. 6) Posted: Sat Aug 05, 2006 12:45 pm
Post subject: Re: cannot exec cc1 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
In article ,
wrote:
> I did the checkbox for gcc 3.3, that is why I am a little baffled why
> it cannot find cc1 (which seems to be required). Here is what I do
> have checked...
>
> Developer Tools Software
> gcc 4.0
> gcc 3.3
> Software Development Kits: Mac OS X SDK, BSD SDK
> Cross Development: Mac OS X 10.4 (Universal) SDK, Mac OS X 10.3.9 SDK
>
> I created a simple C file and tried to compile it...
>
> $ gcc-3.3 -o bob bob.c
> gcc-3.3: installation problem, cannot exec `cc1': No such file or
> directory
>
> If I use 'gcc' (4.0) then it compiles fine. Any other thoughts?
Actually, nevermind, I am confused. You can't use gcc 3.3 on Intel. You can,
however, use gcc 4 to build apps for versions of Mac OS X older than 10.3, which
doesn't help you at all.
Sorry about that.
Ben
--
If this message helped you, consider buying an item
from my wish list: <http://artins.org/ben/wishlist>
I changed my name: <http://periodic-kingdom.org/People/NameChange.php> >> Stay informed about: cannot exec cc1 |
|
| Back to top |
|
 |  |
External

Since: Dec 16, 2003 Posts: 288
|
(Msg. 7) Posted: Sat Aug 05, 2006 6:08 pm
Post subject: Re: cannot exec cc1 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Ben Artin wrote:
> In article ,
> wrote:
>
>
>>I did the checkbox for gcc 3.3, that is why I am a little baffled why
>>it cannot find cc1 (which seems to be required). Here is what I do
>>have checked...
>>
>>Developer Tools Software
>>gcc 4.0
>>gcc 3.3
>>Software Development Kits: Mac OS X SDK, BSD SDK
>>Cross Development: Mac OS X 10.4 (Universal) SDK, Mac OS X 10.3.9 SDK
>>
>>I created a simple C file and tried to compile it...
>>
>>$ gcc-3.3 -o bob bob.c
>>gcc-3.3: installation problem, cannot exec `cc1': No such file or
>>directory
>>
>>If I use 'gcc' (4.0) then it compiles fine. Any other thoughts?
>
>
> Actually, nevermind, I am confused. You can't use gcc 3.3 on Intel. You can,
> however, use gcc 4 to build apps for versions of Mac OS X older than 10.3, which
> doesn't help you at all.
>
> Sorry about that.
>
That's a relief - I thought I was suffering from premature aging...
Paul >> Stay informed about: cannot exec cc1 |
|
| Back to top |
|
 |  |
External

Since: Oct 01, 2006 Posts: 1
|
(Msg. 8) Posted: Sun Oct 01, 2006 10:48 pm
Post subject: Re:cannot exec cc1 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
| Related Topics: | help ! PEF Executable using XCODE ?? - ------------------------------------------------------------------------ A poll associated with this post was created, to vote and see the results, please visit http://www.codecomments.com/message235968.html..
Browser Controls... - Are there any browser controls which supports all the versions of MAC OS ? ie : MAC OS X and 8/9 ?? Will Opera Support ?!! rG -- macro ------------------------------------------------------------------------ Posted via http://www.codecomments.com..
Beginning for Beginning Beginners - I occasionally become motivated to dabble in programming, just to the point of getting a particular task done, and am wondering where I should start. I am generally more interested in the ends rather than the means. I want to work with what is availabl...
Gentoo for installing Unix programs on Mac OS - I have been slightly interested in some Unix applications, but haven't fallen into the mood to do the line command dance merely to open them, well build them that is (Although I think I remember using Fink in an earlier version of OS X) Anyone have any....
PackageMaker ignoring files - Please help - Hi Using PackageMaker, I have built an install package for a Unix utility which has files that go into /usr/sbin. PackageMaker inserts the files into the Archive.pax.gz archive, but it does not list them in the Archive.bom bills of materials file. As a.... |
|
You can post new topics in this forum You can reply to topics in this forum You can edit your posts in this forum You can delete your posts in this forum You can vote in polls in this forum
|
|
|
|
 |
|
|