shake-language-c-0.6.2: 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

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.