Gentoo Logo
Gentoo Spaceship




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
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: nac <nac@...>
Subject: [PREFIX]issues of crossdev on PREFIX/macosx
Date: Wed, 23 Sep 2009 04:16:04 +0900 (JST)
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


Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
sqlite emerge problem
Next by thread:
windows issue with portage permissions
Previous by date:
Re: Preparing for Snow Leopard
Next by date:
windows issue with portage permissions


Updated Jun 18, 2012

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.