how to build yaml-cpp for aarch64?
njuhang opened this issue · comments
njuhang commented
I use cmake .. and make, then libyaml-cpp.a is incompatibel with aarch64linux
Jesse Beder commented
Can you give more details? Is there a reason it's incompatible?
njuhang commented
Because if I use cmake ..&& make, it will be built for x64 platform. Now I need to cross compile it for android aarch64 platform.
Jesse Beder commented
What happens if you use cmake's cross compilation tools?
njuhang commented
But I don't know how to do cross compilation now.
Jesse Beder commented
Have you tried looking it up?
njuhang commented
Sorry, could you please let me know what options I can set for aarch64 cross compilation?
Jesse Beder commented
Your question isn't yaml-cpp specific. Just ask in general on the internet and I'm sure you'll get an answer.