Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-alt
Hi all,
I've been trying to make distcc/crossdev environment on prefix/mac osx as HOST
and its target is gentoo linux on lower-voltage CPU.
I think, I should take some steps to make distcc and crossdev
environment. And I got a trouble to do this.
The steps I did:
1) installing distcc
On mac osx, enewuser is invalid but it's not problem. I could
emerge the package and will run distcc manually.
2) installing crossdev
no problem.
3) tweaking crossdev script
${EPREFIX}/usr/bin/crossdev is a bash script and includes
hard-coded paths. So I replaced paths like /usr, /etc and /var to
${EPRFIX}/usr and so on. I think "${EPREFIX}/usr" is correct but
I'm lazy. And interpreter at 1st line of the script should be replaced to ${EPREFIX}/usr/sbin/bash.
4) run crossdev with paticular options of target
Before running crossdev I needed to write package names which would be installed by
crossdev to package.unmask. And put
FEATURES="allow_broken_install_names" in make.conf because of binutils.
Emerging binutils and kernel headers are ok.
5) installing glibc for target environment
**Now here**, crossdev can't emerge glibc because no glibc package on
prefix tree. How can I solve this problem?
Should I make glibc package on a overlay in prefix environment
with ecopy and adding manual modification?
I think it's little bit tough work.
If this glibc problem is solved, crossdev would works.
(Of course making gcc can be another problem ;-) )
Any one any hints?
Thanks,
nac, shindo
|
|