> > > > Also, 64-bit SPARC and AMD are known to be
> > > designated as "sparcv9" and "amd64". What will be the
> > > formal designation of a 64-bit PPC CPU on Solaris?
> > > 
> > > See above
> >
> > BTW, as a general question, is there a reliable way to detemine the
> "mapping" between an ISA and her corresponding 64-bit counterpart, as in:
> >
> > i386 -> amd64
> > sparc -> sparcv9
> > ppc -> ppc64
> 
> THere is none and even the uname(1) fields are unreliable if
> you compare different platforms.
> 
> This is something that makes it hard to write a platform independent 
> makefilesystem like the "Schily makefiles".


You're right, but that's only true for Solaris' uname implementation (which is 
bad enough in that respect).
Workaround: Use "isainfo -k", I usually do this, i.e. here: 
http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commitdiff;h=6bd4c254396cb0f4e8ae21ff455ebb15cd9f4f10
(which I could of course have been implemented more economically)


Martin

_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to