public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/108852] New: Add gcc option for building NT kernel driver
@ 2023-02-19 23:02 pali at kernel dot org
  0 siblings, 0 replies; only message in thread
From: pali at kernel dot org @ 2023-02-19 23:02 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-19 23:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-19 23:02 [Bug c/108852] New: Add gcc option for building NT kernel driver pali at kernel dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).