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
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@...
|
|