[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: complie error of cquit.c (libcruft) (MinGW build for 3.5.50+)
From: |
Tatsuro MATSUOKA |
Subject: |
Re: complie error of cquit.c (libcruft) (MinGW build for 3.5.50+) |
Date: |
Wed, 10 Mar 2010 08:42:37 +0900 (JST) |
Hello
I have looked in to libcruft/Makefile.am in the source directory trees.
I found the following
AM_CPPFLAGS = @CPPFLAGS@ -I../libgnu -I$(top_srcdir)/libgnu
I have also looked at libcruft/Makefile.am in the build directory trees
I found the following
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
However in compiling, '-I../libgnu -I$(top_srcdir)/libgnu' options has not been
added.
Hmmm? It's mysterious.
Are there someone who met this behavior?
Regards
Tatsuro
--- Tatsuro MATSUOKA <address@hidden> wrote:
> Hello
>
> I add manually -../libgnu
>
> $ cd libcrft
> $ /bin/sh ../libtool --tag=CC --mode=compile gcc -shared-libgcc
> -DHAVE_CONFI
> G_H -I. -I../../../hg/octave-work/libcruft -I.. -I../libgnu
> -I/WinDevTools/inc
> lude -I/GnuWin32/include -O3 -fomit-frame-pointer -DHAVE_CONFIG_H -mieee-fp
> -
> Wall -W -Wshadow -Wformat -O3 -fomit-frame-pointer -O3 -fomit-frame-pointer
>
> -MT misc/libcruft_la-cquit.lo -MD -MP -MF misc/.deps/libcruft_la-cquit.Tpo -c
> -
> o misc/libcruft_la-cquit.lo `test -f 'misc/cquit.c' || echo
> '../../../hg/octave
> -work/libcruft/'`misc/cquit.c
> libtool: compile: gcc -shared-libgcc -DHAVE_CONFIG_H -I.
> -I../../../hg/octave-work/libcruft
> -I..
> -I../libgnu -I/WinDevTools/include -I/GnuWin32/include -O3
> -fomit-frame-pointer -DHAVE_CONFIG_H
> -mieee-fp -Wall -W -Wshadow -Wformat -O3 -fomit-frame-pointer -O3
> -fomit-frame-pointer -MT
> misc/libcruft_la-cquit.lo -MD -MP -MF misc/.deps/libcruft_la-cquit.Tpo -c
> ../../../hg/octave-work/libcruft/misc/cquit.c -DDLL_EXPORT -DPIC -o
> misc/.libs/libcruft_la-cquit.o
>
> Compile of cquit.c was successful.
>
> Regards
>
> Tatsuro
>
> --- Tatsuro MATSUOKA wrote:
>
> > Hello
> >
> > Sorry I have found in signal.h
> > line 355-361
> > # if !0
> > # define SIG_BLOCK 0 /* blocked_set = blocked_set | *set; */
> > # define SIG_SETMASK 1 /* blocked_set = *set; */
> > # define SIG_UNBLOCK 2 /* blocked_set = blocked_set & ~*set; */
> > _GL_FUNCDECL_SYS (sigprocmask, int,
> > (int operation, const sigset_t *set, sigset_t *old_set));
> > # endif
> >
> > gcc -shared-libgcc -DHAVE_CONFIG_H -I. -I../../../hg/octave-work/libcruft
> > -I..
> > -I/WinDevTools/include -I/GnuWin32/include -O3 -fomit-frame-pointer
> > -DHAVE_CONFIG_H -mieee-fp
> > -Wall -W
> > -Wshadow -Wformat -O3 -fomit-frame-pointer -O3 -fomit-frame-pointer -MT
> > misc/libcruft_la-cquit.lo -MD
> > -MP -MF misc/.deps/libcruft_la-cquit.Tpo -c
> > ../../../hg/octave-work/libcruft/misc/cquit.c
> >
> > Hmmmm, it seems that -I../libgnu missing in the complier flag.
> >
> > Regards
> >
> > Tatsuro
>
>
> --------------------------------------
> Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
> http://pr.mail.yahoo.co.jp/ie8/
>
--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/