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: gentoo-alt@g.o
From: Pieter Van den Abeele <pvdabeel@...>
Subject: Fwd: [gentoo-alt] The Gentoo Linux mini-alternate-architecture howto
Date: Wed Apr 17 15:09:02 2002
On Wednesday 17 April 2002 21:57, drobbins wrote:
> Hiya,
>
> We now have a system in place for handling/detecting the current system
> architecture inside ebuilds: the ARCH variable.  The ARCH variable is
> set in your respective profile/make.defaults file, and has one of the
> following settings:
>
> x86		Standard PC
> sparc		Sparc (32-bit)
> sparc64		Sparc (64-bit)
> ppc		PowerPC
>
> You can test and use the ARCH flag in ebuilds as follows:
>
> if [ "$ARCH" = "ppc" ]
> then
> 	foo
> else
> 	bar
> fi
>
> These changes are 100% backwards compatible and no new Portage version
> is needed to use the new ARCH variable.  Appropriate new lines have been
> added to all the current profiles in /usr/portage/profiles, so ARCH is
> ready for use after a cvs update.  Enjoy!
>
> Best Regards,

-- 
Pieter Van den Abeele
pvdabeel@...

Navigation:
Lists: gentoo-ppc-dev: < Prev By Thread Next > < Prev By Date Next >
Next by thread:
New build + iso images
Next by date:
New build + iso images


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.