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 Fri, May 29, 2015 at 1:43 AM, Tristan Gingold <gingold@adacore.com> wrote:
>
>> On 28 May 2015, at 17:14, Ian Lance Taylor <iant@google.com> wrote:
>>
>> The way you have written the code, I'm fairly sure that it will be
>> compiled for an i386-coff target.
>
> And the only coff target supported is djgpp, right ?

Really?  I didn't know that we had dropped COFF support.  That is good
to hear.


>> I would be OK with a #include <windows.h> that is conditional on
>> something that indicates that the host (from the point of view of
>> libbacktrace) really is Windows.
>
> Is it ok to test if the _WIN32 macro is defined (like in libiberty) ?

Sure.

Ian


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