Re: Trying to build with MinGW

2020-03-08 Fir de Conversatie Ken Takata
Hi, 2020/3/9 Mon 0:02:21 UTC+9 Bram Moolenaar wrote: > > > John Marriott wrote: > > > On 08-Mar-2020 00:39, Bram Moolenaar wrote: > > > On my Windows 10 laptop I'm trying to build a non-GUI debug version > with > > > MinGW. It has a few complaints, first one is that INT_MAX was not > > >

Re: Trying to build with MinGW

2020-03-08 Fir de Conversatie Bram Moolenaar
John Marriott wrote: > On 08-Mar-2020 00:39, Bram Moolenaar wrote: > > On my Windows 10 laptop I'm trying to build a non-GUI debug version with > > MinGW. It has a few complaints, first one is that INT_MAX was not > > defined. I solved that by including in vim.h. > > > > Building with the

Re: Trying to build with MinGW

2020-03-07 Fir de Conversatie John Marriott
On 08-Mar-2020 00:39, Bram Moolenaar wrote: On my Windows 10 laptop I'm trying to build a non-GUI debug version with MinGW. It has a few complaints, first one is that INT_MAX was not defined. I solved that by including in vim.h. Building with the terminal feature fails with

Trying to build with MinGW

2020-03-07 Fir de Conversatie Bram Moolenaar
On my Windows 10 laptop I'm trying to build a non-GUI debug version with MinGW. It has a few complaints, first one is that INT_MAX was not defined. I solved that by including in vim.h. Building with the terminal feature fails with LPROC_THREAD_ATTRIBUTE_LIST undefined. I disabled

Re: Trying to build with MinGW

2018-07-01 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > > [...] > > > > > > > Open the "MSYS2 MSYS" icon from the Start Menu, then you can use the > > > > > following > > > > > command to install them: > > > > > > > > > > pacman -S base-devel mingw-w64-i686-toolchain > > > > > mingw-w64-x86_64-toolchain > > > > > > > > >

Re: Trying to build with MinGW

2018-06-30 Fir de Conversatie Ken Takata
Hi Bram, 2018/7/1 Sun 5:02:50 UTC+9 Bram Moolenaar wrote: > Ken Takata wrote: > > [...] > > > > > Open the "MSYS2 MSYS" icon from the Start Menu, then you can use the > > > > following > > > > command to install them: > > > > > > > > pacman -S base-devel mingw-w64-i686-toolchain > > > >

Re: Trying to build with MinGW

2018-06-30 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: [...] > > > Open the "MSYS2 MSYS" icon from the Start Menu, then you can use the > > > following > > > command to install them: > > > > > > pacman -S base-devel mingw-w64-i686-toolchain > > > mingw-w64-x86_64-toolchain > > > > > > Or you can use the `pacboy` command

Re: Trying to build with MinGW

2018-06-30 Fir de Conversatie Ken Takata
Hi Bram, 2018/6/30 Sat 23:14:33 UTC+9 Bram Moolenaar wrote: > Ken Takata wrote: > > > > Does it make sense to require WINVER 0x0600 here while 0x501 is the > > > default above? Doesn't it mean the binary won't work properly on > > > Windows XP anyway? Then we might as well make 0x0600 the

Re: Trying to build with MinGW

2018-06-30 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > > Does it make sense to require WINVER 0x0600 here while 0x501 is the > > default above? Doesn't it mean the binary won't work properly on > > Windows XP anyway? Then we might as well make 0x0600 the default. And > > add a comment to use 0x0501 for XP, and the need to

Re: Trying to build with MinGW

2018-06-29 Fir de Conversatie Ken Takata
Hi Bram, Sorry for the late reply. 2018/5/24 Thu 4:52:51 UTC+9 Bram Moolenaar wrote: > Ken Takata wrote: > > > 2018/5/21 Mon 1:30:53 UTC+9 Bram Moolenaar wrote: > > > I want to try debugging on MS-Windows with gdb. I normally build with > > > MSVC, but I don't see a way to use that executable

Re: Trying to build with MinGW

2018-05-23 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > 2018/5/21 Mon 1:30:53 UTC+9 Bram Moolenaar wrote: > > I want to try debugging on MS-Windows with gdb. I normally build with > > MSVC, but I don't see a way to use that executable with gdb (perhaps > > it's possible with some compiler flag?). > > > > So I'll use MinGW for

Re: Trying to build with MinGW

2018-05-23 Fir de Conversatie Ken Takata
Hi Bram, 2018/5/21 Mon 1:30:53 UTC+9 Bram Moolenaar wrote: > I want to try debugging on MS-Windows with gdb. I normally build with > MSVC, but I don't see a way to use that executable with gdb (perhaps > it's possible with some compiler flag?). > > So I'll use MinGW for compiling. MinGW

Re: Trying to build with MinGW

2018-05-21 Fir de Conversatie Michael Soyka
On 5/21/2018 4:50 PM, Bram Moolenaar wrote: Michael Soyka wrote: On 5/20/2018 12:30 PM, Bram Moolenaar wrote: I want to try debugging on MS-Windows with gdb. I normally build with MSVC, but I don't see a way to use that executable with gdb (perhaps it's possible with some compiler flag?).

Re: Trying to build with MinGW

2018-05-21 Fir de Conversatie Bram Moolenaar
Michael Soyka wrote: > On 5/20/2018 12:30 PM, Bram Moolenaar wrote: > > I want to try debugging on MS-Windows with gdb. I normally build with > > MSVC, but I don't see a way to use that executable with gdb (perhaps > > it's possible with some compiler flag?). > > > > So I'll use MinGW for

Re: Trying to build with MinGW

2018-05-21 Fir de Conversatie Michael Soyka
On 5/20/2018 12:30 PM, Bram Moolenaar wrote: I want to try debugging on MS-Windows with gdb. I normally build with MSVC, but I don't see a way to use that executable with gdb (perhaps it's possible with some compiler flag?). So I'll use MinGW for compiling. MinGW provides gcc and make, so I

Trying to build with MinGW

2018-05-20 Fir de Conversatie Bram Moolenaar
I want to try debugging on MS-Windows with gdb. I normally build with MSVC, but I don't see a way to use that executable with gdb (perhaps it's possible with some compiler flag?). So I'll use MinGW for compiling. MinGW provides gcc and make, so I expect this to work: make -f