public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
From: Peter Stuge <peter@stuge.se>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] Cross emerging to a given root.
Date: Fri, 4 Dec 2009 00:23:55 +0100	[thread overview]
Message-ID: <20091203232355.410.qmail@stuge.se> (raw)
In-Reply-To: <166af1cf0912031017w6ac9cfb8sa17f48c15d6f7cc9@mail.gmail.com>

Shinkan wrote:
> For now I play with gcc-config on host every time I work with a
> target which needs a different gcc, but that's much pain (what if I
> forget to gcc-config back to my actual host gcc version ??!
> I'll lscrew my host I guess.)

I would be more worried about always remembering to set the correct
compiler for each target. This is something that I think you must
automate yourself.


> it would be very comfortable if I could tell emerge to use the
> compiler specified in make.conf,

I doubt this will happen - but you could of course patch emerge to do
it.

I suggest that you write a small wrapper script instead, and create a
new configuration file where you store the required gcc version for
each target. Make sure to put the full tuple with version number in
there and not the gcc-config index, which changes whenever you add or
remove a compiler version on the host.


//Peter



  reply	other threads:[~2009-12-04  0:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-02 17:46 [gentoo-embedded] Cross emerging to a given root Shinkan
2009-12-02 20:04 ` Peter Stuge
2009-12-03 14:21   ` Shinkan
2009-12-03 16:52     ` Ed W
2009-12-03 18:17       ` Shinkan
2009-12-03 23:23         ` Peter Stuge [this message]
2009-12-04  9:55         ` Ed W
2009-12-04 10:25           ` Peter Stuge
2009-12-03 23:19     ` Peter Stuge
2009-12-02 20:09 ` Ryan Tandy
2009-12-03 16:50   ` Ed W

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=20091203232355.410.qmail@stuge.se \
    --to=peter@stuge.se \
    --cc=gentoo-embedded@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