shake-language-c-0.12.0: Utilities for cross-compiling with Shake

Safe HaskellNone
LanguageHaskell98

Development.Shake.Language.C.Host

Description

 

Synopsis

Documentation

data OS Source #

Host operating system.

Constructors

Linux 
OSX 
Windows 

Instances

Eq OS Source # 

Methods

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

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

Ord OS Source # 

Methods

compare :: OS -> OS -> Ordering #

(<) :: OS -> OS -> Bool #

(<=) :: OS -> OS -> Bool #

(>) :: OS -> OS -> Bool #

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

max :: OS -> OS -> OS #

min :: OS -> OS -> OS #

Show OS Source # 

Methods

showsPrec :: Int -> OS -> ShowS #

show :: OS -> String #

showList :: [OS] -> ShowS #

os :: OS Source #

This host's operating system.

executableExtension :: String Source #

File extension for executables.

sharedLibraryExtension :: String Source #

File extension for dynamic shared libraries.

loadableLibraryExtension :: String Source #

File extension for dynamic loadable libraries.

defaultToolChain :: (Target, Action ToolChain) Source #

Get host's default toolchain.

This function can be used for targeting the host operating system, see also Development.Shake.Language.C.Rules.