The ABIs I use are:
“x86_64”
“x86”
“arm64-v8a”
“armeabi-v7a”
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
android-ndk...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-ndk/6ee83b89-7c1f-43d6-a6a5-78a8c751e199n%40googlegroups.com.
Hello,I compiled the curl libs for x86 and x86-64 following the instruction belowIn those documents, I added mtune=intel but when I do it, the compiler throws an error.
* Executing task in folder Curl: E:/DevTools/FastBuild/FBuild.exe -j1 Curl-Debug-x86_64
1> Obj: E:\Sampleslibs\Curl\prj\android_fastbuild\obj\x86_64\Debug\vtls\sectransp.obj
1> Failed to build Object. Error: 1 (0x01) Target: 'E:\Sampleslibs\Curl\prj\android_fastbuild\obj\x86_64\Debug\vtls\sectransp.obj'
1> PROBLEM: E:\Sampleslibs\Curl\prj\android_fastbuild\obj\x86_64\Debug\vtls\sectransp.obj
error: unknown target CPU 'intel'
note: valid target CPU values are: i386, i486, winchip-c6, winchip2, c3, i586, pentium, pentium-mmx, pentiumpro, i686, pentium2, pentium3, pentium3m, pentium-m, c3-2, yonah, pentium4, pentium4m, prescott, nocona, core2, penryn, bonnell, atom, silvermont, slm, goldmont, goldmont-plus, tremont, nehalem, corei7, westmere, sandybridge, corei7-avx, ivybridge, core-avx-i, haswell, core-avx2, broadwell, skylake, skylake-avx512, skx, cascadelake, cooperlake, cannonlake, icelake-client, rocketlake, icelake-server, tigerlake, sapphirerapids, alderlake, knl, knm, lakemont, k6, k6-2, k6-3, athlon, athlon-tbird, athlon-xp, athlon-mp, athlon-4, k8, athlon64, athlon-fx, opteron, k8-sse3, athlon64-sse3, opteron-sse3, amdfam10, barcelona, btver1, btver2, bdver1, bdver2, bdver3, bdver4, znver1, znver2, znver3, x86-64, geode
FBuild: Error: BUILD FAILED: Curl-Debug-x86_64
Time: 0.054s
* The terminal process "E:\DevTools\FastBuild\FBuild.exe '-j1', 'Curl-Debug-x86_64'" terminated with exit code: 4294967295.
* Press any key to close the terminal.I search around the clang and gcc instructions, mtune=intel does not mention anywhere.My project uses:android ndk 25chost: windowsThanks
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/CAJgzZoqQH%2BfAyp2ARMJdzrD7%2Bn%2Bo0v7gAv809_HzWd%2Boc%3DopvQ%40mail.gmail.com.
The sample is going to be more up to date than the blog post from 2020, of course :) https://github.com/android/ndk-samples/tree/main/prefab/curl-ssl
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/CAFVaGhuPqm2Y_ac6K_AS-u0%2BTSJAo6MB-HPEXQkLSjtN6kPK2w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/29853465-556a-4ca7-9540-c904f59525can%40googlegroups.com.