problem when installing macports

Thomas De Contes d.l.tDeContes at free.fr
Mon Oct 1 18:26:04 PDT 2007


Le 21 sept. 07 à 20:05, Ryan Schmidt a écrit :

>
> On Sep 20, 2007, at 05:02, Anders F Björklund wrote:
>
>> Thomas De Contes wrote:
>>
>>> on both, i have installed the last version of xcode (2.4.1), but  
>>> only devtools software, gcc 3.3, and software dev kits
>>> oh yes, i just remember, on the computer where it works, i have  
>>> installed gcc 4.0 instead of gcc 3.3
>>> so, is it required to have gcc 4.0 to compile macports ?? why ?
>>
>> You need the Universal system compiler (gcc-4.0) for Mac OS X  
>> 10.4 / Xcode,
>> not the gcc-3.3 cross-compiler - that's only for building for Mac  
>> OS X 10.3
>>
>> Trying to reproduce the issue with CC="gcc-3.3 -arch ppc"  
>> LDFLAGS="-arch ppc",
>> but that seemed to have work... (i.e. it didn't give any snprintf  
>> errors)
>
> Anders, he didn't say what OS version he was using. Also, he's on  
> G4, so gcc 3.3 is a native compiler, not a cross-compiler.
>
> But, Thomas, if you're running Mac OS X 10.3.9, then you need Xcode  
> 1.5, which installs gcc 3.3 and that's supposed to be fine for  
> MacPorts. If you're on Mac OS X 10.4.10, then you need Xcode 2.4.1  
> which installs gcc 4.0, and your gcc_select should be set to use  
> gcc 4.0, which is the default. Using gcc 3.3 as your system  
> compiler on Mac OS X 10.4 is not supported by MacPorts, and I don't  
> recommend it for any reason.

thank you very much for all the details :-)

i have 10.4, two remote computers with ppc, and my local computer  
with intel


but, if on 10.4 the "core" is gcc 4.0,
why is there
"This package contains the Apple version of the gcc 4.0 compiler."
and
"This package contains the Apple version of the gcc 3.3 compiler, and  
is required to use the Developer Tools on Mac OS X."
even on intel, which let us suppose that the "core" is gcc 3.3 ?


-- 
j'agis contre l'assistanat, je travaille dans une SCOP !





More information about the macports-users mailing list