building under macOS 10.13 (High Sierra) #2656

Closed
thierrygosselin opened this Issue Jun 14, 2018 · 1 comment

Comments

Projects
None yet
3 participants
@thierrygosselin

recommendation:
Update documentation that specify user must use clang as default compiler, because GCC raises errors.

cd Downloads
wget https://curl.haxx.se/download/curl-7.60.0.tar.gz
tar -zxvf curl-7.60.0.tar.gz
cd curl-7.60.0
CC="/usr/local/bin/clang" ./configure --without-ssl --with-darwinssl
make -j8
sudo make install
@nickzman

This comment has been minimized.

Show comment
Hide comment
@nickzman

nickzman Jun 14, 2018

Collaborator

The problem isn't the documentation... The problem is the code should be changed to not assume everyone building libcurl against the High Sierra SDK is using Clang to do so.

Collaborator

nickzman commented Jun 14, 2018

The problem isn't the documentation... The problem is the code should be changed to not assume everyone building libcurl against the High Sierra SDK is using Clang to do so.

nickzman added a commit that referenced this issue Jul 1, 2018

darwinssl: allow High Sierra users to build the code using GCC
...but GCC users lose out on TLS 1.3 support, since we can't weak-link
enumeration constants.

Fixes #2656

@bagder bagder closed this in b78d1a3 Jul 6, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment