Can I use the same .config file to compile 32-bit and 64-bit kernel?
Mulyadi Santosa
mulyadi.santosa at gmail.com
Fri Jul 7 02:31:48 EDT 2017
On Thu, Jul 6, 2017 at 11:02 AM, Hao Lee <haolee.swjtu at gmail.com> 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20170707/0dcb3a17/attachment.html
More information about the Kernelnewbies
mailing list