[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] gawk 4.0.0 compile error when sigsegv is enabled (mingw32
From: |
xxxc2urg_l-4yoh |
Subject: |
Re: [bug-gawk] gawk 4.0.0 compile error when sigsegv is enabled (mingw32) |
Date: |
Wed, 27 Jul 2011 22:43:06 -0700 (PDT) |
It looks like the space was missing between the `-I' directives; anyway I
already edited the Makefile so I can't tell anymore directly. It worked before
using an MSYS shell with mingw32-gcc so I was surprised that it suddenly
changed when I use a cmd.com window. You are correct that it is unnecessary to
add the additional include directive.
--- On Tue, 7/26/11, Eli Zaretskii <address@hidden> wrote:
> From: Eli Zaretskii <address@hidden>
> Subject: Re: gawk 4.0.0 compile error when sigsegv is enabled (mingw32)
> To: address@hidden
> Cc: address@hidden
> Date: Tuesday, July 26, 2011, 6:48 PM
> > Date: Tue, 26 Jul 2011 08:59:03
> -0700 (PDT)
> > From: address@hidden
> > Cc: address@hidden
> >
> > Thanks for the fix to `builtin.c'; it works, but I
> encountered one more small problem when building in a
> cmd.com window:
> > (cmd.com window output follows:)...
> > mingw32-gcc-4.5.2 -c -O2 -gdwarf-2 -g3 -DGAWK
> -I.-Id:/sigsegv/include -DHAVE_CONFIG_H -save-temps
> replace.c
> > In file included from replace.c:67:0:
> > missing_d/strftime.c:21:21: fatal error: config.h: No
> such file or directory
> > compilation terminated.
> > mingw32-make[1]: *** [replace.o] Error 1
> > mingw32-make[1]: Leaving directory
> `D:/gnu-source/gawk-4.0.0'
> > make: *** [mingw32] Error 2
>
> Sounds like some bug in your port of GCC? (Is that
> the MinGW GCC or
> MSYS GCC?) The "-I." switch should be enough, because
> the file being
> compiled is ./replace.c. The fact that it includes
> another file from
> missing_d should not change that.
>
> Anyway, I don't have this problem on my machine.
>
[bug-gawk] gawk 4.0.0 compile error when sigsegv is enabled (mingw32), Allan J Mui, 2011/07/26