Documentation

Lean.Compiler.FFI

Return C compiler flags for including Lean's headers. Unlike getCFlags, this does not contain the Lean include directory.

Equations

Return C compiler flags for including Lean's headers.

Equations

Return C compiler flags needed to use the C compiler bundled with the Lean toolchain.

Equations
  • One or more equations did not get rendered due to their size.

Return linker flags for linking against Lean's libraries. Unlike getLinkerFlags, this does not contain the Lean library directory.

Equations
def Lean.Compiler.FFI.getLinkerFlags (leanSysroot : System.FilePath) (linkStatic : Bool := true) :

Return linker flags for linking against Lean's libraries.

Equations

Return linker flags needed to use the linker bundled with the Lean toolchain.

Equations
  • One or more equations did not get rendered due to their size.