Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does a kernel and modules need to be compiled on a developement machine instead of a test machine?

0
Posted

Why does a kernel and modules need to be compiled on a developement machine instead of a test machine?

0

gdb needs to refer to source code files and vmlinux or a module object file. Since gdb runs on the developement machine, these files are required to be present on the developement machine. The test machine needs vmlinuz or module object files only. If a kernel or modules are compiled on the developement machine, only vmlinuz or module object files need to be copied to the test machine. On the other hand, compiling a kernel or modules on the test machine makes it it necessary to copy object files as well as source code files to the developement machine. Hence a developement model is much simplified if compilation is done on a developement machine.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123