Re: Compiling GDB on Windows using mingw64 toolchain

Jan Vrany
2018-03-08T09:15:36Z

Hi,

On Tue, 2018-03-06 at 19:44 +0200, Eli Zaretskii wrote:
> >
> Then I guess you need to look in the config.log to understand why the
> configure-time test for it failed.

Thanks! I finally found the problem and it's embarrassing.

I found out that it did not detect wint_t because there was
a syntax error in generated conftest.c so it did not compile thus
the check failed (there was a garbage at the end of the .c file).

I run my Windows in VirtualBox and realized that my build directory
is on vbox "shared folder". When I tried to build on virtualized disk,
it worked just fine. Oh my... Interestingly, I build other programs
this way for years and never encountered this.

I'm sorry for the noise! And I'm really grateful for all hints you
all gave me - helped me a lot!

Thanks again,

Jan