Mingw64 seems to have all headers lowercase. Even where windows sdk have headers with some capital letters. Like Psapi.h or TlHelp32.h.
Particularly this breaks tcmalloc crosscompilation for win32/64 under linux.
This is going to be very hard to fix, due to the amount of legacy involved. I'm not even sure how to go about this.
A quick workaround is to use lowercase includes instead.
Will it be legal if I use ls -lR - like thing on windows sdk to find out true case of includes and fix it by script?
I suspect one issue could be making sure svn handles such renames properly.
Well, no one can and should fix this: that tcmalloc project and/or any others must include headers using lowercase names. Jon, Kai: I suggest that this be a WONTFIX.
Well mingw (old one) currently works with cross-building. So renaming headers is the way to go.
mingw.org has *all* of its headers lowercase, therefore what you say is not possible unless you manually changed cases of their headers.
You're right Ozkan. Which is still a bit weird.
I think what would work is soft or hard links to files mixed case headers. And fixing it doesn't seem a problem. If using ls -lR on windows sdk is legal.
I've raised this issue with tcmalloc folks as well: http://groups.google.com/group/google-perftools/browse_thread/thread/4c27e914ac7fa92c
Yes, we did named headers in a canonical way. On windows it doesn't matter normally, how headers are capitilized or not. We won't fix that, as it leads on other ventures to more issues.
The common standard here is to use on mingw lower-case names for headers.