https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108852

            Bug ID: 108852
           Summary: Add gcc option for building NT kernel driver
           Product: gcc
           Version: 12.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pali at kernel dot org
  Target Milestone: ---

gcc already contains options for building different types of PE binaries:
-mconsole for console executable; -mwindows for GUI executable; -mdll for DLL
library; ...

What is missing is option for building NT kernel driver. MSVC link.exe has for
this /DRIVER option.

It would be nice to have such option also in gcc, which sets all options
required for building NT kernel driver. Like not linking startup files, setting
image base address and aligning, setting correct entry point or setting PE
Native subsystem.

Reply via email to