Open hippie68 opened 3 years ago
you need to build your own mbedTLS library for linux arm64, you can't use macOS arm64 libraries.
You need to download and compile mbedtls release 2.27 and in options enable CMAC_C
in config.h
and also add option -fPIE to CMakeLists.txt in project.
The program won't compile nor link on Linux ARM64.
Here's what I did:
But then an error shows up:
To "fix" it, I changed this line in CMakeLists.txt
And then "make" compiles, but can't link because the architecture is recognized as "linux64":
If I force "../thirdparty/lib/darwin-arm64" via CMakeLists.txt, it won't link either:
"make" output:
Do you know how to fix this and add Linux ARM support?