[gobolinux-devel] Get_Architecture

Dan theyranos at gmail.com
Sat Sep 9 19:45:13 UTC 2006


As I work to try to improve rootless's portability (I'm now trying to  
go for both Cygwin and OS X) I'd like to alter Get_Architecture. For  
non-Linux kernels, I'd like to append the kernel type to the result.  
I'd also like to account for OS X's incorrect uname -m output.

All the output for Gobo's ARM, PPC, and i686 ports should be exactly  
the same. Cygwin on an i686 will be i686.CYGWIN. OS X on a ppc will  
be ppc.Darwin. The idea is to make sure that Get_Architecture only  
returns the same thing on two machines with binary compatibility.

Is that ok?


More information about the gobolinux-devel mailing list