On Sun, Aug 13, 2023 at 06:05:03PM +0800, Zhangjin Wu wrote:
I think that later I'll further extend XARCH with new variants to support ARMv5 and Thumb2, because we have different code for this and I continue to manually change the CFLAGS to test both.
Ok, what about further add x86_64 as the default variant for x86 (like ppc for powerpc)? and then it is able to only resereve the variables for x86_64. I have prepared a patch for this goal in our new tinyconfig patchset, it will further avoid adding the same nolibc-test-x86.config and nolibc-test-x86_64.config.
I'm confused, x86 already defaults to x86_64, it's just that it depends on the .config itself to figure whether to produce a 32- or 64-bit kernel. But for example it starts qemu in 64-bit mode. Am I missing anything ?
Willy