TagLib Framework with ARM64 architecture

Uwe L. Korn uwelk at xhochy.com
Thu Nov 5 15:28:55 GMT 2020


Hello Jason,

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.

Cheers
Uwe

On Thu, Nov 5, 2020, at 3:57 PM, Jason Fleischer wrote:
> TagLib developer,
> 
> Trying to build a Tablib framework that has Arm64 architecture with the following command:
> 
> sudo cmake -DCMAKE_BUILD_TYPE=Release \

>     -DBUILD_FRAMEWORK=ON \

>     -DCMAKE_C_COMPILER=/usr/bin/gcc \

>     -DCMAKE_CXX_COMPILER=/usr/bin/c++ \

>     -DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/ \

>     -DCMAKE_OSX_DEPLOYMENT_TARGET=10.13 \

>     -DCMAKE_OSX_ARCHITECTURES="arm64"

> 

> However the compiler gcc does not support arm64 architectures. Attached are the logs.

> 

> What compiler should I use? Is this possible?

> 

> I need arm64 for macOS universal builds with their new silicon chips.

> 

> Any help would be greatly appreciated,

> 

> Jason

> 
> *Attachments:*
>  * CMakeOutput.log
>  * CMakeError.log
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20201105/e1b97155/attachment.htm>


More information about the taglib-devel mailing list