emacs-devel
[Top][All Lists]
Advanced

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

Re: msvc-inval.h?


From: Stephen Leake
Subject: Re: msvc-inval.h?
Date: Mon, 08 Sep 2014 08:25:07 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt)

Chris Zheng <address@hidden> writes:

> From: Stephen Leake <address@hidden>
> Subject: msvc-inval.h?
> Date: Mon, 08 Sep 2014 02:53:01 -0500
>
> Hi Stephe,
>> I'm building emacs on Windows for the very first time.
>> 
>> dup2.c and other files requires msvc-inval.h, which is not on my system,
>> and is not mentioned in nt/INSTALL.
>> 
>> I'm guessing it's a header for the Microsoft Visual C++ runtime library.
>> 
>> I can't figure out where to get that from. 

> If you are using the POSIX-like build method with MSYS or MSYS2, the
> following information should be valuable.  When build with MSYS and
> MinGW, dup2.c is not needed since the test was normally skipped.  The
> most possible reason you see this error is the missing of the MSYSTEM.
> To see whether it is the cause, you can set MSYSTEM to `MINGW32' or
> `MINGW64' and try again.  Hope it helps.

Thanks, that helped. I'm using Msys2. I prefer to run the msys shell
under Emacs (of course :), so I had set up a function to do that
previously, while working on montone. At that time, mingw64_shell.bat
set MSYSTEM to MSYS, so that's what my function does. I've changed it to
MINGW64, and make is no longer trying to compile dup2.c; it completes
with no error.

I'll add this to my install notes.

I'm still curious what msvc-inval.h is. I'm now guessing it is used when
compiling Emacs with Microsoft Visual C++?

-- 
-- Stephe



reply via email to

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