Re: Can I use the same .config file to compile 32-bit and 64-bit kernel?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Thu, Jul 6, 2017 at 11:02 AM, Hao Lee <haolee.swjtu@xxxxxxxxx> wrote:
Hi,

I'm currently configuring a custom kernel on Fedora x86_64. The first
option on the configuration menu is "64-bit kernel" which I think is
the only option controlling the architecture of kernel. Copying this
.config file to a 32-bit system directly and turning off this option,
can I compile a 32-bit kernel which doesn't have any hidden problems?
If this way is feasible, I think the only difference between these two
kernels is architecture.

Regards,
Hao Lee

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Hi

To the best  I could recall, 32 vs 64 bit mainly affect vm split. in 32 bit, you have 3:1, in 64 bit, there is none and I am not sure that is automatically decided by Kconfig simply by selecting 32 or 64 bit arch.

CMIIW


--
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux