๐Ÿ’พ Archived View for bbs.geminispace.org โ€บ u โ€บ gyaradong โ€บ 2990 captured on 2024-05-26 at 16:15:47. Gemini links have been rewritten to link to archived content

View Raw

More Information

โฌ…๏ธ Previous capture (2024-05-10)

โžก๏ธ Next capture (2024-07-09)

๐Ÿšง View Differences

-=-=-=-=-=-=-

Comment by ๐Ÿ‰ gyaradong

Re: "Question: How do I compile the Linux kernel?"

In: s/Linux

back when I used to do it, there was a TUI (actually even a GUI in GTK) which would configure everything including flags and so on.

๐Ÿ‰ gyaradong

2023-07-11 ยท 11 months ago

4 Later Comments โ†“

๐Ÿ˜Ž Smokey ยท 2023-07-11 at 13:53:

gentoo is the popular distro for that. Have fun im sure it will be a blast ๐Ÿ’€

๐Ÿš€ maha ยท 2023-08-20 at 17:21:

I'd recommend getting to know your hardware before doing this. Otherwise you simply wouldn't understand the options....i but feel free to experiment....i remember creating quite a few broken kernels before i managed to make one that worked. Also as @gyaradong mentions there used to be a nice curses TUI to set the options, look for it

๐Ÿ’€ eriounious ยท May 18 at 08:11:

@gyaradong

@maha

You can still use the TUI with "make menuconfig" (colors) or "make xconfig" (no colors). The GUI is "make xconfig."

๐Ÿ™ norayr ยท May 19 at 02:35:

I had the habit to keep and maintain .config files for all my hardware, where i would mostly include the hardware support and software stacks i need, and exclude everything else. recently, since gentoo has gentoo-kernel-bin i started to not do it, but sometimes think it is a good idea to get back to the old way. i have funny story about how i received a message via linux kernel source, but one other day about it.

Original Post

๐ŸŒ’ s/Linux

Question: How do I compile the Linux kernel? โ€” By which I mean, what compiler flags, options and configs should I look out for, such that my kernel will actually succesfully run? I am talking about QEMU without KVM as the platform.

๐Ÿ’ฌ DocEdelgas ยท 6 comments ยท 2023-07-11 ยท 11 months ago