AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Instal the new for apple Spectre1/18/2024 ![]() I got this error: checking whether the C compiler works. Then I added the -mretpoline flag to both C, I added the path to both C and C++ compilers, and I called the shell scripts from GPG: export CFLAGS='-mretpoline'Įxport CXX=/usr/local/opt/llvm/bin/clang++ Then I followed the steps at this page: brew install -with-toolchain llvm Installing clang with Homebrew required XCode, so I installed that from the App Store. I installed homebrew with: ruby -e "$(curl -fsSL )" LLVM from Apple fails (see below), so I used LLVM clang 6 to fix this and I installed with homebrew (it defeats a bit the purpose of compiling from source with specific flags, but I was running out of time). I followed the steps to install GPG from Git. ![]() Long version: The following applies to GnuPG, which I decided to install before R (because R requires gfortran, which requires gcc, which requires MPFR, which comes with a GPG signature that I wanted to verify). I am running macOS High Sierra version 10.13.3 (17D102). I suspect that this cannot be done on a Mac as of 27 April 2018. This seems more general than R and specific to MacOS, so I changed the title accordingly. ![]() Short version: After much investigation, I was unable to install software on MacOS from source with either llvm and -mretpoline flag, or with gcc and -mindirect-branch=thunk -mfunction-return=thunk -mindirect-branch-register flags.
0 Comments
Read More
Leave a Reply. |