From: Jason Stubbs <jstubbs@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Dynamic SLOTs
Date: Wed, 4 Aug 2004 23:28:04 +0900 [thread overview]
Message-ID: <200408042328.04774.jstubbs@gentoo.org> (raw)
In-Reply-To: <200408031957.29610.vapier@gentoo.org>
On Wednesday 04 August 2004 08:57, Mike Frysinger wrote:
> On Tuesday 03 August 2004 07:34 pm, Jason Stubbs wrote:
> > That better solution is what I'm looking for here.
>
> even though the rest of the e-mail suggested otherwise, the truth is a
> solution does not exist yet to satisfy the needs of cross compiling ebuilds
You may have read it in IRC today, but I'll repeat it for verbosity's sake.
I think we can get portage managed cross compilation happening with relatively
few changes. Note that this doesn't extend to multilib, which I can't see as
being solvable in the same way. Note this also assumes that cross-compilation
will always be done into a different root.
1. Allow a profile to define aliases for arbitrary commands. This will allow a
profile (even customization of an official profile) to specify to use a
cross compiler.
2. Fix portage so that the make.conf, /etc/profile/* and /etc/portage/* found
in ${ROOT} are used and the ones found in / are not used at all for any
package being compiled for ${ROOT}.
3. Have portage define ${ROOT} as "/" when it is not set by the user.
4. Fix ebuilds so that they link against ${ROOT} rather than assuming "/".
#1 is available as of 2.0.51_pre15 (pre14?). #2 is a little difficult but is
not beyond reason. #3 is dead simple. #4 is up to everyone else. Is anything
else required for cross-compilation?
As for gcc slotting the cross-compiler, I don't think it's necessary nor has
any bareing on cross-compilation. Having gcc respond to architecture USE
flags (prepended with cc- if necessary) and building the cross-compilers in
the same merge would work, no? No files get lost track of, all the compilers
are upgraded on an emerge --update and, best yet, it's possible to do right
now. Am I missing something here? Is there some reason that the gcc ebuilds
couldn't work in that way? Same question re mod_php and mod_scgi.
Regards,
Jason Stubbs
--
gentoo-dev@gentoo.org mailing list
next prev parent reply other threads:[~2004-08-04 14:25 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-31 4:09 [gentoo-dev] Dynamic SLOTs Jason Stubbs
2004-07-31 6:46 ` Mike Frysinger
2004-07-31 8:32 ` Jason Stubbs
2004-07-31 16:29 ` Mike Frysinger
2004-08-01 2:01 ` Jason Stubbs
2004-08-01 21:27 ` Martin Schlemmer
2004-08-03 23:34 ` Jason Stubbs
2004-08-03 23:57 ` Mike Frysinger
2004-08-04 14:28 ` Jason Stubbs [this message]
2004-08-04 20:11 ` Aron Griffis
2004-08-04 23:47 ` Jason Stubbs
2004-08-05 1:45 ` Lina Pezzella
2004-08-05 13:57 ` Jason Stubbs
2004-08-05 3:00 ` Aron Griffis
2004-08-05 13:50 ` Jason Stubbs
2004-08-05 8:59 ` Ned Ludd
2004-08-06 3:10 ` Mike Frysinger
2004-08-06 11:45 ` Jason Stubbs
2004-08-09 23:35 ` Matthieu Sozeau
2004-08-10 12:21 ` Jason Stubbs
2004-08-10 12:53 ` Matthieu Sozeau
2004-08-10 13:37 ` Jason Stubbs
2004-08-06 11:56 ` Paul de Vrieze
2004-08-06 12:41 ` Jason Stubbs
2004-08-06 15:18 ` Paul de Vrieze
2004-08-06 17:28 ` Mike Frysinger
2004-08-06 23:57 ` Jason Stubbs
2004-08-07 10:42 ` Paul de Vrieze
2004-08-07 11:07 ` Chris Bainbridge
2004-08-07 11:25 ` Jason Stubbs
2004-08-10 14:55 ` Jason Stubbs
2004-08-11 14:21 ` [gentoo-dev] Cross Compilation and Dynamic Slots Jason Stubbs
2004-08-11 16:17 ` Ilya A. Volynets-Evenbakh
2004-08-12 13:12 ` Jason Stubbs
2004-08-12 12:42 ` [gentoo-dev] Cross Compilation and Dynamic Slots (ARCH_LIBDIR) Travis Tilley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200408042328.04774.jstubbs@gentoo.org \
--to=jstubbs@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox