public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
From: Joakim Tjernlund <joakim.tjernlund@transmode.se>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] crossdev & ports questions
Date: Mon, 20 Sep 2010 23:08:56 +0200	[thread overview]
Message-ID: <OF643DB0DF.1AC7C6A3-ONC12577A4.0073D90D-C12577A4.00742CD6@transmode.se> (raw)
In-Reply-To: <201009201600.25912.vapier@gentoo.org>

Mike Frysinger <vapier@gentoo.org> wrote on 2010/09/20 22:00:25:
>
> On Monday, September 20, 2010 15:00:25 Joakim Tjernlund wrote:
> > I am fiddling with crossdev again and I wonder if there a way to
> > pass different configure options to gcc/binutils vs. glibc?
> > Doing export EXTRA_ECONF="--with-cpu=e300c2" applies
> > to all and glibc bombs with subarch not supported error.
>
> you'd have to use per-package env manually:
> /etc/portage/env/$CATEGORY/$PN
>
> but crossdev likes to clobber this file for you.  so i guess i should extend
> crossdev with --env-xxx options so people can add their own.
>
> > Second, there are not many PowerPC cpus in the ports section
> > of glibc and not mine embedded one either. Is there any
> > alternative ports pkg somewhere that supports more PowerPC
> > cpus?
>
> we take what glibc offers via their glibc-ports package.  personally, i do 0
> embedded powerpc work, so i dont know of any "alternatives" or such.

OK, I was mainly after some decent mem*() functions as the ones provided
usually perform badly for embedded CPUs

>
> if they did exist though, the only way currently to get them transparently
> added would be to make a big patch out of them and then use the user patch
> interface (put patches into /etc/portage/patches/$CATEGORY/$P/).

hmm, maybe I could make up my own dummy ports pkg for my cpu. That way
I could probably make glibc accept my cpu conf too.




  reply	other threads:[~2010-09-20 22:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-20 19:00 [gentoo-embedded] crossdev & ports questions Joakim Tjernlund
2010-09-20 20:00 ` Mike Frysinger
2010-09-20 21:08   ` Joakim Tjernlund [this message]
2010-09-20 22:39     ` Mike Frysinger
2010-10-08  3:10   ` Mike Frysinger
2010-10-08  6:56     ` Joakim Tjernlund
2010-10-08  7:52       ` Joakim Tjernlund
2010-10-08  8:46         ` 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=OF643DB0DF.1AC7C6A3-ONC12577A4.0073D90D-C12577A4.00742CD6@transmode.se \
    --to=joakim.tjernlund@transmode.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