This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch]: libbacktrace - add support of PE/COFF


> On 28 May 2015, at 02:26, Ian Lance Taylor <iant@google.com> wrote:

> The #include <windows.h> will break cross-compilers.  It's not OK for
> trunk until that is fixed.

I am confused by this comment, for two reasons:

- I donât see how that would break cross-compilers.  Cross compilers
 hosted on windows are not impacted by this include when the library is
 used for the tools.  When then backtrace library is used for the target,
 pecoff is not used unless the target is windows.
 So I donât see a case where the include breaks cross-compilers.

- If the case exists, I donât see how to implement backtrace within
 shared libraries: I need a windows specific function to get the list
 of DLL.

Tristan.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]