checking for gcc

Thomas De Contes d.l.tDeContes at free.fr
Fri Mar 20 15:53:55 PDT 2009


Le 16 mars 09 à 00:05, Ryan Schmidt a écrit :

> On Mar 15, 2009, at 17:36, Thomas De Contes wrote:
>
>> i updade MacPorts, and at the step "port upgrade outdated" it  
>> always sets
>> checking for gcc... /usr/bin/gcc-4.0
>>
>> whereas /usr/bin/gcc-4.0 does not exist and /usr/bin/gcc points on  
>> gcc-3.3
>>
>>
>> what is the problem ?
>
> /usr/bin/gcc-4.0 should exist, and /usr/bin/gcc should point to it,  
> on Tiger and later.

ok
if /usr/bin/gcc-4.0 exists but /usr/bin/gcc does not point to it,  
it's not right ?

> MacPorts will use /usr/bin/gcc-4.0 on Tiger and later, and /usr/bin/ 
> gcc-3.3 on Panther.

ok

> What OS version do you have? What version of Xcode?

checking Mac OS X version... 10.4.11
checking Xcode version... 2.4.1

> Try reinstalling the latest version of Xcode for your OS.

ok

i would like to install as less as possible
which part of xcode do you think is necessary, please ? :-)

developer tools software ?
gcc 4.0 ?
software development kits ?


btw,

why does it work fine to build MacPorts itself, with gcc 3.3, and not  
to build software ?

why does it say :
checking for gcc... /usr/bin/gcc-4.0
checking for C compiler default output... configure: error: C  
compiler cannot create executables
rather than sth like
checking for gcc... /usr/bin/gcc-4.0 not found
?
and why not searh for gcc-4.0 in $PATH ?


-- 
Téléassistance / Télémaintenance
http://www.portparallele.com/ThomasDECONTES/




More information about the macports-users mailing list