bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building Diffutils with MinGW


From: Paul Eggert
Subject: Re: Building Diffutils with MinGW
Date: Fri, 04 May 2012 11:39:51 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

On 05/04/2012 10:08 AM, Eli Zaretskii wrote:
However, I'd prefer a solution that uses the mainstream
configure script.  Any suggestions in that direction?

I'd like to partition the Microsoft-relevant stuff as much
as possible into the ms/* subdirectory.

One possibility is to have a separate header, ms/mingw.h, which
src/system.h will include

Sure, something like that would be fine, though I'd rather
put the relevant changes into the ms/* subdirectory.
For example, we could create a file ms/system.h that does
something like this:

 #include <mingw.h>
 #include_next <system.h>

and then have the Microsoft build compile with -I../ms before
-I.  Or, if something like that doesn't suffice, we could have the
Microsoft build patch src/system.h first thing, put the
patched version into ms/system.h, and then continue building
with -I../ms.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]