The moose likes Linux / UNIX and the fly likes about the kernel compiling Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Reply Bookmark "about the kernel compiling" Watch "about the kernel compiling" New topic
Author

about the kernel compiling

ma la
Greenhorn

Joined: Nov 25, 2001
Posts: 6
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
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
 
 
subject: about the kernel compiling
 
Threads others viewed
vmware on RedHat 8.0
Wants Header of a JTable to be static.
Increasing Disk Partition Size on Linux
java app 'Killed'
Removing kernel
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture