Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is my gcc compiled with multilib?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
Robert S
Guru
Guru


Joined: 15 Aug 2004
Posts: 460
Location: Canberra Australia

PostPosted: Sat Jan 27, 2007 11:21 pm    Post subject: Is my gcc compiled with multilib? Reply with quote

Maybe this has been discussed before, but I can't find any references . . .

My gcc appears to be compiled without the multilib flag set (from "equery uses gcc"). When I try to recompile it with multilib set, it is still unset:
Quote:
# echo sys-devel/gcc multilib >> /etc/portage/package.use
# emerge -pv gcc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] sys-devel/gcc-4.1.1-r1 USE="fortran gtk nls (-altivec) -bootstrap -build -doc -gcj (-hardened) -ip28 -ip32r10k -mudflap (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" 0 kB

Total size of downloads: 0 kB
and
Quote:
# USE='multilib' emerge -pv gcc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] sys-devel/gcc-4.1.1-r1 USE="fortran gtk nls (-altivec) -bootstrap -build -doc -gcj (-hardened) -ip28 -ip32r10k -mudflap (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" 0 kB

I am using the 2006.1 profile:
Quote:
# ls -l /etc/ |grep profile
lrwxrwxrwx 1 root root 51 2006-09-02 18:41 make.profile -> ..//usr/portage/profiles/default-linux/amd64/2006.1

The main problem is that distcc fails when I use it with an x86 machine over the network. I am however able to run mozilla-firefox-bin, so I'm confused.
Back to top
View user's profile Send private message
MoinMan
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2007
Posts: 78
Location: Liechtenstein

PostPosted: Sat Jan 27, 2007 11:46 pm    Post subject: Reply with quote

You are using multilib, since you use the standard profile and not the no-multilib profile. The brackets around the multilib useflag means it is not a selectable option, in this case hard coded by your profile.
However to use distcc together with a x86/i686 machine you need to build a cross-compile-toolchain and modify distcc to recognize it. Have a look at http://www.gentoo.org/doc/en/cross-compiling-distcc.xml
Back to top
View user's profile Send private message
Robert S
Guru
Guru


Joined: 15 Aug 2004
Posts: 460
Location: Canberra Australia

PostPosted: Sun Jan 28, 2007 12:17 am    Post subject: Reply with quote

Thanks - I thought that might be the case.

Think I'll stick with my 32-bit chroot, which seems to work very well.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum