frysk.config
Class Host

java.lang.Object
  extended by frysk.config.Host

public class Host
extends Object

Host (or executable) configuration information.


Constructor Summary
Host()
           
 
Method Summary
static boolean bigEndian()
          The host is big endian?
static String cpuXXX()
          Return the autoconf target_cpu specified when building frysk.
static int wordSize()
          The word size of the host architecture (this is the architecture for which the frysk executable built).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Host

public Host()
Method Detail

wordSize

public static int wordSize()
The word size of the host architecture (this is the architecture for which the frysk executable built).


bigEndian

public static boolean bigEndian()
The host is big endian?


cpuXXX

public static String cpuXXX()
Return the autoconf target_cpu specified when building frysk. XXX: This variable's value is not a reliable indicator of the system's architecture. For instance, on an IA032 system, it could contain any of i386, i586, or i686. XXX: This code was folded in from frysk.*.Build.BUILD_ARCH when that file was deleted. It is much more likely that code needs to know the arch family, and not some arbitrary string.