hello,
I'm trying to set up icecream as a cross-compiler to use a core2 duo
(amd64) machine to compile for i686 machines.
I worked my way through the gentoo wiki icecream howto. I ran crossdev:
pyrope ~ # crossdev -t i686-pc-linux-gnu
-------------------------------------------------------------------------------------------------------------------
* Host Portage ARCH: amd64
* Target Portage ARCH: x86
* Target System: i686-pc-linux-gnu
* Stage: 4 (C/C++ compiler)
* binutils: binutils-[latest]
* gcc: gcc-[latest]
* headers: linux-headers-[latest]
* libc: glibc-[latest]
* PORTDIR_OVERLAY: /usr/local/portage
* PORT_LOGDIR: /var/log/portage
* PKGDIR: /usr/portage/packages/cross/i686-pc-linux-gnu
* PORTAGE_TMPDIR: /var/tmp/cross/i686-pc-linux-gnu
_ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ -
* _ - ~ - _ - ~ - _ - ~ - _ -
* Forcing the latest versions of {binutils,gcc}-config/gnuconfig ...
* [ ok ]
* Log: /var/log/portage/cross-i686-pc-linux-gnu-binutils.log
* Emerging cross-binutils ...
* [ ok ]
* Log: /var/log/portage/cross-i686-pc-linux-gnu-linux-headers-quick.log
* Emerging cross-linux-headers-quick ...
* [ ok ]
* Log: /var/log/portage/cross-i686-pc-linux-gnu-glibc-headers.log
* Emerging cross-glibc-headers ...
* [ ok ]
* Log: /var/log/portage/cross-i686-pc-linux-gnu-gcc-stage1.log
* Emerging cross-gcc-stage1 ...
* [ ok ]
* Log: /var/log/portage/cross-i686-pc-linux-gnu-linux-headers.log
* Emerging cross-linux-headers ...
* [ ok ]
* Log: /var/log/portage/cross-i686-pc-linux-gnu-glibc.log
* Emerging cross-glibc ...
* [ ok ]
* Log: /var/log/portage/cross-i686-pc-linux-gnu-gcc-stage2.log
* Emerging cross-gcc-stage2 ...
* [ ok]
Then:
pyrope ~ # icecream-create-env i686-pc-linux-gnu
'/usr//i686-pc-linux-gnu/gcc-bin/4.4.2/i686-pc-linux-gnu-gcc' is no
executable.
Testing icecc environment...
tar: -C: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: /tmp/tmp.mvQTLnojyc: Not found in archive
tar: Error exit delayed from previous errors
chroot: failed to run command `/usr/bin/gcc': No such file or directory
Creating icecc environment failed. Please see error message(s) above!
The temporary directory is: /tmp/tmp.mvQTLnojyc/
Looking in /usr/i686-pc-linux-gnu/ there is no gcc-bin/ directory, hence
the error.
Does anyone have suggestions on how to proceed?
Thanks,
Roger