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: Eli Zaretskii
Subject: Re: Building Diffutils with MinGW
Date: Fri, 04 May 2012 23:52:41 +0300

> Date: Fri, 04 May 2012 11:39:51 -0700
> From: Paul Eggert <address@hidden>
> CC: address@hidden
> 
> > 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.

That's okay, but then the configure script will have to add the
"-I../ms" switch to the GCC command-line arguments.



reply via email to

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