List Info

Thread: Re: Re: error configuring sys-devel/gcc-apple-4.0.1_p5363-r1




Re: Re: error configuring sys-devel/gcc-apple-4.0.1_p5363-r1
country flaguser name
Netherlands
2007-05-15 14:41:53
On 15-05-2007 21:39:19 +0200, Elias Pipping wrote:
> I'm currently at 'emerge world', where gcc builds gcc
and i get this at the 
> very beginning:
>
> >>> Compiling source in 
>
/Users/pipping/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.
0.1_p5363-r1/work/gcc-5363 
> ...
> ld64 warning: in 
>
/Users/pipping/Gentoo/usr/lib/gcc/i686-apple-darwin8/4.0.1/l
ibgcc_s.10.4.dylib, 
> missing required architecture x86_64 in file
> ld64 warning: in 
>
/Users/pipping/Gentoo/usr/lib/gcc/i686-apple-darwin8/4.0.1/l
ibgcc.a, file 
> is not of required architecture
>
> (so, gcc is built but it's 32 bit only(?))

My "fix" is just to disable multilib compilation
on MacTel machines.
Unless you feel like cooking a patch for GCC, I like to wait
for Apple
to release the latest.  In the end it only matters if you
like to have a
64-bits prefix installation.  (A thing I still on my todo
list...)


-- 
Fabian Groffen
Gentoo on a different level

-- 
gentoo-altgentoo.org mailing list


Re: Re: error configuring sys-devel/gcc-apple-4.0.1_p5363-r1
country flaguser name
Germany
2007-05-15 14:49:53
Apparently that's not yet possible, indeed:

According to Apple's manpages[1], gcc 3.3 allows for -arch
(i386|ppc)[2]

   The allowable values are i386 and ppc.

and 4.0 allows for -arch (i386|ppc|ppc64)[3]

   The allowable values are i386, ppc and ppc64.

I guess I can live without 64 bit for now ;)

[1] http://developer.apple.com/documentation/Darwin/Refere
nce/ 
ManPages/index.html#//apple_ref/doc/framework/manpages
[2] http://developer.apple.com/documentation/Darwin/Refere
nce/ 
ManPages/man1/gcc-3.3.1.html
[3] http://developer.apple.com/documentation/Darwin/Refere
nce/ 
ManPages/man1/gcc-4.0.1.html

Kind regards,

Elias


On May 15, 2007, at 9:41 PM, Fabian Groffen wrote:

> On 15-05-2007 21:39:19 +0200, Elias Pipping wrote:
>> I'm currently at 'emerge world', where gcc builds
gcc and i get  
>> this at the
>> very beginning:
>>
>>>>> Compiling source in
>>
/Users/pipping/Gentoo/var/tmp/portage/sys-devel/gcc- 
>> apple-4.0.1_p5363-r1/work/gcc-5363
>> ...
>> ld64 warning: in
>>
/Users/pipping/Gentoo/usr/lib/gcc/i686-apple-darwin8/4.0.1/

>> libgcc_s.10.4.dylib,
>> missing required architecture x86_64 in file
>> ld64 warning: in
>>
/Users/pipping/Gentoo/usr/lib/gcc/i686-apple-darwin8/4.0.1/

>> libgcc.a, file
>> is not of required architecture
>>
>> (so, gcc is built but it's 32 bit only(?))
>
> My "fix" is just to disable multilib
compilation on MacTel machines.
> Unless you feel like cooking a patch for GCC, I like to
wait for Apple
> to release the latest.  In the end it only matters if
you like to  
> have a
> 64-bits prefix installation.  (A thing I still on my
todo list...)
>
>
> -- 
> Fabian Groffen
> Gentoo on a different level
>
> -- 
> gentoo-altgentoo.org mailing list
>

-- 
gentoo-altgentoo.org mailing list


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )