[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/12476] New: mingw target should reference windows.h instead of W
From: |
dongsheng.song at gmail dot com |
Subject: |
[Bug ld/12476] New: mingw target should reference windows.h instead of Windows.h |
Date: |
Wed, 9 Feb 2011 03:16:18 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=12476
Summary: mingw target should reference windows.h instead of
Windows.h
Product: binutils
Version: 2.22 (HEAD)
Status: NEW
Severity: critical
Priority: P2
Component: ld
AssignedTo: address@hidden
ReportedBy: address@hidden
Created attachment 5233
--> http://sourceware.org/bugzilla/attachment.cgi?id=5233
Here is the patch
There have 3 files reference to Windows.h:
ld/config.in:
AC_CHECK_HEADERS([Windows.h],[enable_plugins=yes],[],[AC_INCLUDES_DEFAULT])
ld/configure: ...
ld/plugin.c: #include <Windows.h>
But in the mingw or mingw-w64 repository, the name should be windows.h:
http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/?cvsroot=src
https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk/mingw-w64-headers/include/
So in an case sensitive filesystem/platform, AC_CHECK_HEADERS will fail, and
the plugin will not build.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug ld/12476] New: mingw target should reference windows.h instead of Windows.h,
dongsheng.song at gmail dot com <=