public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
From: Joakim Tjernlund <joakim.tjernlund@transmode.se>
To: Mike Frysinger <vapier@gentoo.org>
Cc: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] crossdev-20100620 uses wrong gcc
Date: Fri, 24 Sep 2010 17:48:48 +0200	[thread overview]
Message-ID: <OFCAE17DE5.C92C7541-ONC12577A8.005682E0-C12577A8.0056DD9B@transmode.se> (raw)
In-Reply-To: <201009241030.37566.vapier@gentoo.org>

Mike Frysinger <vapier@gentoo.org> wrote on 2010/09/24 16:30:35:
>
> On Friday, September 24, 2010 04:55:27 Joakim Tjernlund wrote:
> > Mike Frysinger wrote on 2010/09/24 04:33:05:
> > > On Thursday, September 23, 2010 10:37:47 Joakim Tjernlund wrote:
> > > > Trying to add support for e300c2 in glibc/ports I got another error.
> > > > when crossdev is building cross-glibc-headers it uses the hosts gcc
> > >
> > > > instead of the cross compiler and glibc configure fails:
> > > by design.  look at toolchain-glibc_headers_compile() in gentoo-x86/sys-
> > > libs/glibc/files/eblits/src_compile.eblit.
> >
> > hmm, if I were to guess one needs to add
> > libc_cv_cc_submachine=xxx, possibly with xxx=no
> > to toolchain-glibc_headers_compile() ?
>
> you need to export the cache var to skip the sanity checks, not the "force a
> specific machine type"

yeah, that was what I did(export libc_cv_cc_submachine="-mcpu=e300c2")

I was aiming for a more general solution, but I can't find one short of
actually use the cross compiler.

 Jocke




  reply	other threads:[~2010-09-24 16:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-23 14:37 [gentoo-embedded] crossdev-20100620 uses wrong gcc Joakim Tjernlund
2010-09-23 15:27 ` Peter Stuge
2010-09-23 17:12   ` Joakim Tjernlund
2010-09-24  2:33 ` Mike Frysinger
2010-09-24  8:55   ` Joakim Tjernlund
2010-09-24 14:30     ` Mike Frysinger
2010-09-24 15:48       ` Joakim Tjernlund [this message]
2010-09-24 16:58         ` Mike Frysinger

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=OFCAE17DE5.C92C7541-ONC12577A8.005682E0-C12577A8.0056DD9B@transmode.se \
    --to=joakim.tjernlund@transmode.se \
    --cc=gentoo-embedded@lists.gentoo.org \
    --cc=vapier@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