cnlohr / rawdrawandroid

Build android apps without any java, entirely in C and Make
MIT License
2.74k stars 197 forks source link

error: unknown target CPU 'intel' NixOS #78

Open ZanovelloAlberto opened 8 months ago

ZanovelloAlberto commented 8 months ago

i composed an android packages (SDK) with the following versions on NixOS

  abiVersions = [ "armeabi-v7a" "arm64-v8a" "x86" "x86_64" ];
  platformVersions = [ "26" ];
  platformToolsVersion = "34.0.5";
  toolsVersion = "26.1.1";
  buildToolsVersions = [ "30.0.3" ];

see full configuration

after makeing it work for arm i tried uncommenting lines for make it available for x86 or x86_64 cpu but it give me this error with the composition previously declared.

error: unknown target CPU 'intel' _(for bot x86 and x8664)

WORKAROUND i figured out that removing the flag -mtune=intel seem to compile properly ( not still tested )

dreua commented 8 months ago

Do you happen to be at 37c3 these days?