Thank you very much. So I must use ARCH=arm to config and make to generate a 32bit kernel and use ARCH=arm64 to generate a 64bit kernel. How can I kown my host's bit is 32 or 64 then? I use hostnamectl before. Now it seems I should use a c program to get this:
Code:
#include <stdio.h>int main(){ printf ("%d\n", sizeof (int)); return 0;}
Statistics: Posted by chengjianwen — Sat Apr 13, 2024 6:13 am