XNU Kernel compiling problem
Hello, I am trying to compile the xnu kernel package for Darwin and am getting errors. I keep getting an "-fapple-kext invalid option" from the cc1plus program which stops the compile. I have searched on the web and can find nothing about this option but do not want to just remove it from the Makefile as it sounds like it is related to the kextd program and would be required to make a valid mach_kernel. Perhaps you will know of another way to accomplish what I am trying to do, but my purpose for recompiling the kernel, right now, is to disable the sleep feature when my ibook lid is put down. I want to modify the kernel so instead of going to sleep it simply turns off the display to prevent overheating the screen and continues to run. I know the loginwindow.app application is what gives the kernel the sleep options because my computer will not go to sleep before that application loads, but I cannot find any API calls to re send that information and disable it again. Daniel Hazelbaker _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Daniel Hazelbaker