Hi, I don't know if there is any one interesting in compiling the linux kernel. I have one question. As I know, compiler always put some informatin(known as header) into the obj file and executable file. Does the kernel have this kind of header? If no, Is there any option for gcc to do it? thx!
<BR>
Guy Allard
Ranch Hand
Joined: Nov 24, 2000
Posts: 776
posted
0
Hi - You are probably talking about the frame pointer. Typical options for kernel modules are: -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -fpreferred-stack-boundary=2 -march=i686 You can find explanations of gcc's command line options: here Regards, Guy