Re: Installing, "c compiler cannot create exectuables", Mac OSX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ryan Woodsmall wrote:
>> configure:2916: checking for gcc
>> configure:2932: found /usr/bin/gcc
>> configure:2943: result: gcc
>> configure:3172: checking for C compiler version
>> configure:3181: gcc --version >&5
>> gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1495)
>> Copyright (C) 2002 Free Software Foundation, Inc.
>> This is free software; see the source for copying conditions.  There is NO
>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>>
>> configure:3192: $? = 0
>> configure:3181: gcc -v >&5
>> Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
>> Thread model: posix
>> gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)
>>     
>
> There's your problem.  GCC 3.3 cannot build i386 code, only PowerPC.  Reinstall your Xcode tools either from the disk or download 3.2.1 from connect.apple.com.  Make sure to install GCC 4.0+ (the default should be 4.2 on Snow Leopard) as that's what is necessary to build for Intel Macs.
>
>
>   
Cavet:  XCode 3.2.1 is for Snow Leopard (10.6) only.  What version of
MacOSX are you running?

gcc 3.3 can build i386 code (it was included with many versions of
Fedora), but the XCode versiont that included it did not build universal
binaries very well.

James McKenzie



[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux