public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/113501] New: i think -lntdll should by default by included in windows targets
@ 2024-01-19  9:09 unlvsur at live dot com
  2024-01-19  9:12 ` [Bug target/113501] " unlvsur at live dot com
  0 siblings, 1 reply; 2+ messages in thread
From: unlvsur at live dot com @ 2024-01-19  9:09 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 113501
           Summary: i think -lntdll should by default by included in
                    windows targets
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: unlvsur at live dot com
  Target Milestone: ---

https://github.com/gcc-mirror/gcc/blob/f036d759ecee538555fa8c6b11963e4033732463/gcc/config/i386/ming

The mcf thread has already linked to -lntdll, and it's confirmed that even
Windows 95 includes ntdll.dll. Additionally, if users do not utilize any
functions from ntdll directly, the inclusion of -lntdll does not result in
linking to it. Therefore, I propose making it a default toggle to simplify
compilation for Windows.

On windows 95, if we do -lntdll, it won't still run. I have tried and confirmed
it.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug target/113501] i think -lntdll should by default by included in windows targets
  2024-01-19  9:09 [Bug target/113501] New: i think -lntdll should by default by included in windows targets unlvsur at live dot com
@ 2024-01-19  9:12 ` unlvsur at live dot com
  0 siblings, 0 replies; 2+ messages in thread
From: unlvsur at live dot com @ 2024-01-19  9:12 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from cqwrteur <unlvsur at live dot com> ---
https://github.com/gcc-mirror/gcc/blob/56778b69ce558bb7e3ab7c561ee4ee48ac20263b/gcc/config/i386/mingw32.h#L192

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-19  9:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-19  9:09 [Bug target/113501] New: i think -lntdll should by default by included in windows targets unlvsur at live dot com
2024-01-19  9:12 ` [Bug target/113501] " unlvsur at live dot com

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).