[Openmcl-devel] How to check for a G5?y

Tord Kallqvist Romstad romstad at math.uio.no
Tue Apr 12 05:46:43 PDT 2005


Gary Byers <gb at clozure.com> writes:

> ;;; On an iBook G4:
> ? (mach-machine-type)
> 11		; 11 = #$CPU_SUBTYPE_POWERPC_7450
> 
> A G5 would presumably return #$CPU_SUBTYPE_POWERPC_970 (= 100).

Indeed it does:

CL-USER> (mach-machine-type)
100

Thanks a lot for your help!  :-)

-- 
Tord Romstad



More information about the Openmcl-devel mailing list