Hello & Q: debug & compiler

Z

Zenith

Guest
Hello,

I have just joined this forum and I am a bit confused on how it's organized / supposed to be used.

I have relatively little knowledge of the linux kernel, I never made a device driver or any other kind of driver on linux. But I did get to study some linux kernel code, particularly on networking. Some linux kernel / architecture book is on my TODO list.

I have three questions:
a) Can linux kernel be compiled with some other C compiler than gcc? Or linux kernel is made to be built by gcc only?
b) Can somebody direct me / give me a link smth, where I can learn how to debug the kernel of a VM with linux installed? (from set up to debugger commands for kernel)
c) Can the linux kernel be debugged from an IDE (like there are IDEs on linux from where you can normally debug your own app, where the IDE is using, e.g. gdb)?

Thanks!
 




Top