OS Manuals

/usr/lib/ghc-9.14.1/bin/ghc-toolchain-bin

Glasgow Haskell Compiler

From ghc-9.14 9.14.1-r3 (enterprise-packages), captured 2026-11-08 by running ghc-toolchain-bin --help (exit 1). permalink

unrecognized option `--help'

missing --triple flag
missing --output flag
ghc-toolchain
  -t TRIPLE  --triple=TRIPLE                        Target triple
  -T PREFIX  --target-prefix=PREFIX                 A target prefix which will be added to all tool names when searching for toolchain components
             --llvm-triple=LLVM-TRIPLE              LLVM Target triple
  -v[N]      --verbose[=N]                          set output verbosity
             --keep-temp                            do not remove temporary files
  -o OUTPUT  --output=OUTPUT                        The output path for the generated target toolchain configuration
             --enable-unregisterised                Enable unregisterised backend
             --disable-unregisterised               Disable unregisterised backend
             --enable-tables-next-to-code           Enable info-tables-next-to-code optimisation
             --disable-tables-next-to-code          Disable info-tables-next-to-code optimisation
             --enable-libffi-adjustors              Enable the use of libffi for adjustors, even on platforms which have support for more efficient, native adjustor implementations.
             --disable-libffi-adjustors             Disable the use of libffi for adjustors, even on platforms which have support for more efficient, native adjustor implementations.
             --enable-ld-override                   Enable override gcc's default linker
             --disable-ld-override                  Disable override gcc's default linker
             --enable-locally-executable            Enable the use of a target prefix which will be added to all tool names when searching for toolchain components
             --disable-locally-executable           Disable the use of a target prefix which will be added to all tool names when searching for toolchain components
             --cc=CC                                Path of C compiler
             --cc-opt=OPTS                          Flags to pass to cc
             --cpp=CPP                              Path of C preprocessor
             --cpp-opt=OPTS                         Flags to pass to cpp
             --hs-cpp=HS-CPP                        Path of Haskell C preprocessor
             --hs-cpp-opt=OPTS                      Flags to pass to hs-cpp
             --js-cpp=JS-CPP                        Path of JavaScript C preprocessor
             --js-cpp-opt=OPTS                      Flags to pass to js-cpp
             --cmm-cpp=CMM-CPP                      Path of C-- C preprocessor
             --cmm-cpp-opt=OPTS                     Flags to pass to cmm-cpp
             --cxx=CXX                              Path of C++ compiler
             --cxx-opt=OPTS                         Flags to pass to cxx
             --cc-link=CC-LINK                      Path of C compiler for linking
             --cc-link-opt=OPTS                     Flags to pass to cc-link
             --ar=AR                                Path of ar archiver
             --ar-opt=OPTS                          Flags to pass to ar
             --ranlib=RANLIB                        Path of ranlib utility
             --ranlib-opt=OPTS                      Flags to pass to ranlib
             --nm=NM                                Path of nm archiver
             --nm-opt=OPTS                          Flags to pass to nm
             --readelf=READELF                      Path of readelf utility
             --readelf-opt=OPTS                     Flags to pass to readelf
             --merge-objs=MERGE-OBJS                Path of linker for merging objects
             --merge-objs-opt=OPTS                  Flags to pass to merge-objs
             --llc=LLC                              Path of LLVM llc utility
             --llc-opt=OPTS                         Flags to pass to llc
             --opt=OPT                              Path of LLVM opt utility
             --opt-opt=OPTS                         Flags to pass to opt
             --llvm-as=LLVM-AS                      Path of Assembler used for LLVM backend (typically clang)
             --llvm-as-opt=OPTS                     Flags to pass to llvm-as
             --windres=WINDRES                      Path of windres utility
             --windres-opt=OPTS                     Flags to pass to windres
             --ld=LD                                Path of linker
             --ld-opt=OPTS                          Flags to pass to ld
             --otool=OTOOL                          Path of otool utility
             --otool-opt=OPTS                       Flags to pass to otool
             --install-name-tool=INSTALL-NAME-TOOL  Path of install-name-tool utility
             --install-name-tool-opt=OPTS           Flags to pass to install-name-tool
Options (54)
OptionDescriptionSource
-t TRIPLE--triple=TRIPLE Target triplehelp
-T PREFIX--target-prefix=PREFIX A target prefix which will be added to all tool names when searching for toolchain componentshelp
--llvm-triple LLVM-TRIPLELLVM Target triplehelp
-v N--verbose[=N] set output verbosityhelp
--keep-tempdo not remove temporary fileshelp
-o OUTPUT--output=OUTPUT The output path for the generated target toolchain configurationhelp
--enable-unregisterisedEnable unregisterised backendhelp
--disable-unregisterisedDisable unregisterised backendhelp
--enable-tables-next-to-codeEnable info-tables-next-to-code optimisationhelp
--disable-tables-next-to-codeDisable info-tables-next-to-code optimisationhelp
--enable-libffi-adjustorsEnable the use of libffi for adjustors, even on platforms which have support for more efficient, native adjustor implementations.help
--disable-libffi-adjustorsDisable the use of libffi for adjustors, even on platforms which have support for more efficient, native adjustor implementations.help
--enable-ld-overrideEnable override gcc's default linkerhelp
--disable-ld-overrideDisable override gcc's default linkerhelp
--enable-locally-executableEnable the use of a target prefix which will be added to all tool names when searching for toolchain componentshelp
--disable-locally-executableDisable the use of a target prefix which will be added to all tool names when searching for toolchain componentshelp
--cc CCPath of C compilerhelp
--cc-opt OPTSFlags to pass to cchelp
--cpp CPPPath of C preprocessorhelp
--cpp-opt OPTSFlags to pass to cpphelp
--hs-cpp HS-CPPPath of Haskell C preprocessorhelp
--hs-cpp-opt OPTSFlags to pass to hs-cpphelp
--js-cpp JS-CPPPath of JavaScript C preprocessorhelp
--js-cpp-opt OPTSFlags to pass to js-cpphelp
--cmm-cpp CMM-CPPPath of C-- C preprocessorhelp
--cmm-cpp-opt OPTSFlags to pass to cmm-cpphelp
--cxx CXXPath of C++ compilerhelp
--cxx-opt OPTSFlags to pass to cxxhelp
--cc-link CC-LINKPath of C compiler for linkinghelp
--cc-link-opt OPTSFlags to pass to cc-linkhelp
--ar ARPath of ar archiverhelp
--ar-opt OPTSFlags to pass to arhelp
--ranlib RANLIBPath of ranlib utilityhelp
--ranlib-opt OPTSFlags to pass to ranlibhelp
--nm NMPath of nm archiverhelp
--nm-opt OPTSFlags to pass to nmhelp
--readelf READELFPath of readelf utilityhelp
--readelf-opt OPTSFlags to pass to readelfhelp
--merge-objs MERGE-OBJSPath of linker for merging objectshelp
--merge-objs-opt OPTSFlags to pass to merge-objshelp
--llc LLCPath of LLVM llc utilityhelp
--llc-opt OPTSFlags to pass to llchelp
--opt OPTPath of LLVM opt utilityhelp
--opt-opt OPTSFlags to pass to opthelp
--llvm-as LLVM-ASPath of Assembler used for LLVM backend (typically clang)help
--llvm-as-opt OPTSFlags to pass to llvm-ashelp
--windres WINDRESPath of windres utilityhelp
--windres-opt OPTSFlags to pass to windreshelp
--ld LDPath of linkerhelp
--ld-opt OPTSFlags to pass to ldhelp
--otool OTOOLPath of otool utilityhelp
--otool-opt OPTSFlags to pass to otoolhelp
--install-name-tool INSTALL-NAME-TOOLPath of install-name-tool utilityhelp
--install-name-tool-opt OPTSFlags to pass to install-name-toolhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.