<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>Hello Jason,<br></div><div><br></div><div>you should use clang as it is shipped with the macOS SDK. Note that you will need at least the SDK version 11 for macOS-arm64, 10.15 will not work.<br></div><div><br></div><div>Cheers<br></div><div>Uwe</div><div><br></div><div>On Thu, Nov 5, 2020, at 3:57 PM, Jason Fleischer wrote:<br></div><blockquote type="cite" id="qt" style=""><div dir="ltr"><div>TagLib developer,<br></div><div><br></div><div>Trying to build a Tablib framework that has Arm64 architecture with the following command:<br></div><div><br></div><div><p class="qt-gmail-p1" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";">sudo cmake -DCMAKE_BUILD_TYPE=Release \<br></p><p class="qt-gmail-p1" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";"><span class="qt-gmail-Apple-converted-space">    </span>-DBUILD_FRAMEWORK=ON \<br></p><p class="qt-gmail-p1" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";"><span class="qt-gmail-Apple-converted-space">    </span>-DCMAKE_C_COMPILER=/usr/bin/gcc \<br></p><p class="qt-gmail-p1" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";"><span class="qt-gmail-Apple-converted-space">    </span>-DCMAKE_CXX_COMPILER=/usr/bin/c++ \<br></p><p class="qt-gmail-p1" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";"><span class="qt-gmail-Apple-converted-space">    </span>-DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/ \<br></p><p class="qt-gmail-p1" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";"><span class="qt-gmail-Apple-converted-space">    </span>-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13 \<br></p><p class="qt-gmail-p1" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";"><span class="qt-gmail-Apple-converted-space">    </span>-DCMAKE_OSX_ARCHITECTURES="arm64"<br></p><p class="qt-gmail-p1" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";"><br></p><p class="qt-gmail-p1" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";">However the compiler gcc does not support arm64 architectures. Attached are the logs.<br></p><p class="qt-gmail-p1" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";"><br></p><p class="qt-gmail-p1" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";">What compiler should I use? Is this possible?<br></p><p class="qt-gmail-p1" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";"><br></p><p class="qt-gmail-p1" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";">I need arm64 for macOS universal builds with their new silicon chips.<br></p><p class="qt-gmail-p1" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";"><br></p><p class="qt-gmail-p1" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";">Any help would be greatly appreciated,<br></p><p class="qt-gmail-p1" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";"><br></p><p class="qt-gmail-p1" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";">Jason<br></p></div></div><div><br></div><div><b>Attachments:</b><br></div><ul><li>CMakeOutput.log<br></li><li>CMakeError.log<br></li></ul></blockquote><div><br></div></body></html>