This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ARCH=powerpc


On Friday 07 April 2006 17:35, James Lemke wrote:
> I've found it necessary when using crosstool for powerpc-823-linux to
> make the kernel with ARCH=powerpc (vs ARCH=ppc).  Comments?

this applies to linux-2.6.15+ only as starting with that version, ppc and 
ppc64 have been unified into just powerpc ... anything older still needs to 
use ppc/ppc64

so the code should read something like:
powerpc*)
	if kernel_version >= 2.6.15 ; then
		echo powerpc
	else
		case $host in
			powerpc64*) echo ppc64;;
			powerpc*) echo ppc;;
		esac
	fi
;;
-mike

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]