From: Enrico Weigelt <weigelt@metux.de>
To: 9fans@9fans.net
Subject: Re: [9fans] Modularizing plan9port
Date: Wed, 11 Jun 2008 22:48:34 +0200 [thread overview]
Message-ID: <20080611204834.GA11948@nibiru.local> (raw)
In-Reply-To: <20080611182132.C91131E8C53@holo.morphisms.net>
* Russ Cox <rsc@swtch.com> wrote:
> I think you should be able to cross-compile it
> pretty easily if you already have a cross-compilation
> environment set up.
>
> 1. Build a local plan9port tree, put it in the chroot
> environment, and put it at the end of your chrooted $PATH.
Note: sysroot != chroot.
(sysroot *only* applies to the toolchain's search pathes)
> 2. Edit that tree's 9 script to override $PLAN9 with
> the path to the local tree (1 line change).
> 3. Extract a fresh tree somewhere else.
> 4. run SYSNAME=xxx OBJTYPE=xxx INSTALL in the fresh tree.
> (assumes
Okay, how can I make sure the right toolchain is used, *all*
imports come from within sysroot and *only* code from the
(building) HOST system is executed - *never* from TARGET ?
> I haven't tried this (I find it much easier just to set up
> a dedicated machine of the right OS and architecture
> and use its native tools), but having the local copy of
No, I can't have one dedicated machine per target right here.
And most of my targets aren't even capable of compiling.
> That sounds like a lot less work than your original proposal.
Even if I could go this way, it would require *much* more
manual works. Simply too expensive.
cu
--
----------------------------------------------------------------------
Enrico Weigelt, metux IT service -- http://www.metux.de/
cellphone: +49 174 7066481 email: info@metux.de skype: nekrad666
----------------------------------------------------------------------
Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------
next prev parent reply other threads:[~2008-06-11 20:48 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-11 12:40 Enrico Weigelt
2008-06-11 12:47 ` erik quanstrom
2008-06-11 13:05 ` Jeff Sickel
2008-06-11 13:30 ` Russ Cox
2008-06-11 15:30 ` Enrico Weigelt
2008-06-11 15:43 ` Uriel
2008-06-11 15:46 ` Uriel
2008-06-11 17:53 ` Enrico Weigelt
2008-06-11 18:23 ` Russ Cox
2008-06-11 20:42 ` Roman Shaposhnik
2008-06-11 20:48 ` Enrico Weigelt [this message]
2008-06-11 20:57 ` William Josephson
2008-06-11 21:30 ` Russ Cox
2008-06-12 14:09 ` Enrico Weigelt
2008-06-11 19:28 ` Iruata Souza
2008-06-11 17:33 ` tlaronde
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=20080611204834.GA11948@nibiru.local \
--to=weigelt@metux.de \
--cc=9fans@9fans.net \
/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;
as well as URLs for NNTP newsgroup(s).