ghc-toolchain-0.1.0.0: Utility for managing GHC target toolchains
Safe HaskellNone
LanguageHaskell2010

GHC.Toolchain.Target

Synopsis

Documentation

data WordSize Source #

Constructors

WS4 
WS8 

Instances

Instances details
Read WordSize Source # 
Instance details

Defined in GHC.Toolchain.Target

Show WordSize Source # 
Instance details

Defined in GHC.Toolchain.Target

Eq WordSize Source # 
Instance details

Defined in GHC.Toolchain.Target

Ord WordSize Source # 
Instance details

Defined in GHC.Toolchain.Target

llc command

opt command

install_name_tool

otool command

data Target Source #

A Target consists of:

  • a target architecture and operating system
  • various bits of information about the platform
  • various toolchain components targetting that platform

Constructors

Target 

Fields

Instances

Instances details
Read Target Source # 
Instance details

Defined in GHC.Toolchain.Target

Show Target Source #

Handwritten Show instance to have have better diffs against the toolchain targets generated by configure

Instance details

Defined in GHC.Toolchain.Target

Eq Target Source # 
Instance details

Defined in GHC.Toolchain.Target

Methods

(==) :: Target -> Target -> Bool #

(/=) :: Target -> Target -> Bool #

Ord Target Source # 
Instance details

Defined in GHC.Toolchain.Target

wordSize2Bytes :: WordSize -> Int Source #

The word size as an integer representing the number of bytes

targetPlatformTriple :: Target -> String Source #

Reconstruct the platform triple from a toolchain target (specifically from tgtArchOs and tgtVendor)