Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-ppc-dev
Navigation:
Lists: gentoo-ppc-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentooppc-dev@g.o
From: Pieter Van den Abeele <pvdabeel@...>
Subject: Re: detecting PPC builds
Date: Thu Apr 25 03:11:03 2002
This works best:

SYSTEM_ARCH=`echo $ARCH |\
  sed -e s/[i]*.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/`
if [ -z "$SYSTEM_ARCH" ]
then
SYSTEML_ARCH=`uname -m |\
     sed -e s/[i]*.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e 
s/sa110/arm/`
fi 

$ARCH is very important to be able to cross-compile, but it isn't implemented 
in portage yet (but works most of the time) `uname -m` or `arch` should only 
be used when no $ARCH is available

Regards,

Pieter



On Thursday 25 April 2002 01:23, you wrote:
> Currently the ARCH variable is set in your /etc/make.profile (I think
> that¹s the right file) and that is used to detect your arch. (ARCH=ppc)
>
> Dunno if this will help you or not but thought I would put my 2 cents worth
> in
>
> Mark
>
> > Hi,
> >
> > I'm looking to fix the most ebuild.  What's a good trick to detect
> > powerpc build situation?  What is used currently?
> >
> > thx
> > Gontran
> > _______________________________________________
> > gentooppc-dev mailing list
> > gentooppc-dev@g.o
> > http://lists.gentoo.org/mailman/listinfo/gentooppc-dev
>
> _______________________________________________
> gentooppc-dev mailing list
> gentooppc-dev@g.o
> http://lists.gentoo.org/mailman/listinfo/gentooppc-dev

-- 
Pieter Van den Abeele
pvdabeel@...


References:
Re: detecting PPC builds
-- Mark Guertin
Navigation:
Lists: gentoo-ppc-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: detecting PPC builds
Next by thread:
ld.so and other packages seem to be defect...
Previous by date:
Re: Flash install works, but Flash doesn't
Next by date:
Re: Flash install works, but Flash doesn't


Updated Jun 17, 2009

Summary: Archive of the gentoo-ppc-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.