# Встановлення Siblime Haskell ```bash cabal install stylish-haskell clang: error: unknown argument: '-no-pie' `gcc' failed in phase `C Compiler'. (Exit code: 1) ``` ```bash gcc -v Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 8.0.0 (clang-800.0.42.1) Target: x86_64-apple-darwin15.6.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin ``` #### [r308268 - Also add the option -no-pie (like -nopie)](https://www.mail-archive.com/cfe-commits@lists.llvm.org/msg62656.html) Summary: For example, this option is expected by ghc (haskell compiler). Currently, building with ghc will fail with: ```bash clang: error: unknown argument: '-no-pie' `gcc' failed in phase `Linker'. (Exit code: 1) . /usr/share/haskell-devscripts/Dh_Haskell.sh && \ configure_recipe ``` This won't do anything (but won't fail with an error) #### [GHC - Mac OS X - ld: unknown option: -no_pie](https://stackoverflow.com/questions/10713848/ghc-mac-os-x-ld-unknown-option-no-pie) > Leopard got rid of no-pie for a period: http://trac.macports.org/ticket/34064 > As the comments note, upgrading xcode/ld to more recent versions enables the flag. #### [How to obtain a GCC on Mac OS X 10.11.6](https://discussions.apple.com/thread/8211796)