View previous topic :: View next topic |
Author |
Message |
Robert S Guru
Joined: 15 Aug 2004 Posts: 460 Location: Canberra Australia
|
Posted: Sat Jan 27, 2007 11:21 pm Post subject: Is my gcc compiled with multilib? |
|
|
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 |
|
|
MoinMan Tux's lil' helper
Joined: 07 Jan 2007 Posts: 78 Location: Liechtenstein
|
Posted: Sat Jan 27, 2007 11:46 pm Post subject: |
|
|
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 |
|
|
Robert S Guru
Joined: 15 Aug 2004 Posts: 460 Location: Canberra Australia
|
Posted: Sun Jan 28, 2007 12:17 am Post subject: |
|
|
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 |
|
|
|