[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Anyone building Emacs trunk with MinGW w64 (32 bits)
From: |
Eli Zaretskii |
Subject: |
Re: Anyone building Emacs trunk with MinGW w64 (32 bits) |
Date: |
Tue, 26 Mar 2013 00:02:17 +0200 |
> From: Óscar Fuentes <address@hidden>
> Date: Mon, 25 Mar 2013 22:37:49 +0100
>
> With the following diff, the build creates emacs.exe. The issue about
> gettimeofday is pending.
Thanks.
> --- a/nt/inc/sys/stat.h
> +++ b/nt/inc/sys/stat.h
> @@ -108,9 +108,9 @@ extern int w32_stat_get_owner_group;
>
> _CRTIMP int __cdecl __MINGW_NOTHROW fstat (int, struct stat*);
> _CRTIMP int __cdecl __MINGW_NOTHROW chmod (const char*, int);
> -_CRTIMP int __cdecl __MINGW_NOTHROW stat (const char*, struct stat*);
> -_CRTIMP int __cdecl __MINGW_NOTHROW lstat (const char*, struct stat*);
> -_CRTIMP int __cdecl __MINGW_NOTHROW fstatat (int, char const *,
> +int __cdecl __MINGW_NOTHROW stat (const char*, struct stat*);
> +int __cdecl __MINGW_NOTHROW lstat (const char*, struct stat*);
> +int __cdecl __MINGW_NOTHROW fstatat (int, char const *,
> struct stat *, int);
This doesn't look right: fstat is also provided by w32.c, so it should
have _CRTIMP removed from its prototype. If that doesn't compile, we
will have to look for a more creative solution, because fstat from the
MS runtime is ABI-incompatible with fstat expected by Emacs (due to a
different definition of 'struct stat').
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits), (continued)
Re: Anyone building Emacs trunk with MinGW w64 (32 bits), Óscar Fuentes, 2013/03/25
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits), rzl24ozi, 2013/03/25
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits), Óscar Fuentes, 2013/03/25
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits), Óscar Fuentes, 2013/03/25
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits), Eli Zaretskii, 2013/03/25
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits), Óscar Fuentes, 2013/03/25
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits), Óscar Fuentes, 2013/03/25
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits),
Eli Zaretskii <=
Re: Anyone building Emacs trunk with MinGW w64 (32 bits), Eli Zaretskii, 2013/03/25
Re: Anyone building Emacs trunk with MinGW w64 (32 bits), Eli Zaretskii, 2013/03/26
Re: Anyone building Emacs trunk with MinGW w64 (32 bits), Óscar Fuentes, 2013/03/26
Re: Anyone building Emacs trunk with MinGW w64 (32 bits), Eli Zaretskii, 2013/03/26
Re: Anyone building Emacs trunk with MinGW w64 (32 bits), Eli Zaretskii, 2013/03/26
Re: Anyone building Emacs trunk with MinGW w64 (32 bits), Eli Zaretskii, 2013/03/26
Re: Anyone building Emacs trunk with MinGW w64 (32 bits), Óscar Fuentes, 2013/03/26
Re: Anyone building Emacs trunk with MinGW w64 (32 bits), Eli Zaretskii, 2013/03/26
Re: Anyone building Emacs trunk with MinGW w64 (32 bits), Óscar Fuentes, 2013/03/26
Re: Anyone building Emacs trunk with MinGW w64 (32 bits), Óscar Fuentes, 2013/03/26