do not use use -fomit-frame-pointer in parser.c/cygnus
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@139 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
5384e3b4d7
commit
a09e21bf68
@ -50,6 +50,7 @@ CC=@CC@
|
|||||||
CPPFLAGS=@CPPFLAGS@ -I. -I$(srcdir)/H -I$(srcdir)/OPTYap
|
CPPFLAGS=@CPPFLAGS@ -I. -I$(srcdir)/H -I$(srcdir)/OPTYap
|
||||||
CFLAGS= @CFLAGS@ $(YAP_EXTRAS) $(DEFS) $(CPPFLAGS)
|
CFLAGS= @CFLAGS@ $(YAP_EXTRAS) $(DEFS) $(CPPFLAGS)
|
||||||
C_INTERF_FLAGS= @C_INTERF_FLAGS@ $(YAP_EXTRAS) $(DEFS) $(CPPFLAGS) -I$(srcdir)/include
|
C_INTERF_FLAGS= @C_INTERF_FLAGS@ $(YAP_EXTRAS) $(DEFS) $(CPPFLAGS) -I$(srcdir)/include
|
||||||
|
C_PARSER_FLAGS= @C_PARSER_FLAGS@ $(YAP_EXTRAS) $(DEFS) $(CPPFLAGS) -I$(srcdir)/include
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# You shouldn't need to change what follows.
|
# You shouldn't need to change what follows.
|
||||||
@ -348,7 +349,7 @@ other.o: $(srcdir)/C/other.c
|
|||||||
$(CC) -c $(CFLAGS) $(srcdir)/C/other.c -o $@
|
$(CC) -c $(CFLAGS) $(srcdir)/C/other.c -o $@
|
||||||
|
|
||||||
parser.o: $(srcdir)/C/parser.c
|
parser.o: $(srcdir)/C/parser.c
|
||||||
$(CC) -c $(CFLAGS) $(srcdir)/C/parser.c -o $@
|
$(CC) -c $(C_PARSER_FLAGS) $(srcdir)/C/parser.c -o $@
|
||||||
|
|
||||||
save.o: $(srcdir)/C/save.c
|
save.o: $(srcdir)/C/save.c
|
||||||
$(CC) -c $(CFLAGS) -DYAP_VERSION=\"$(VERSION)\" -DBIN_DIR=\"$(BINDIR)\" -DLIB_DIR=\"$(YAPLIBDIR)\" $(srcdir)/C/save.c -o $@
|
$(CC) -c $(CFLAGS) -DYAP_VERSION=\"$(VERSION)\" -DBIN_DIR=\"$(BINDIR)\" -DLIB_DIR=\"$(YAPLIBDIR)\" $(srcdir)/C/save.c -o $@
|
||||||
|
@ -16,6 +16,8 @@
|
|||||||
|
|
||||||
<h2>Yap-4.3.20:</h2>
|
<h2>Yap-4.3.20:</h2>
|
||||||
<ul>
|
<ul>
|
||||||
|
<li>FIXED: don't use full optimization for parser.c in cygwin
|
||||||
|
(report from Steve Moyle).</li>
|
||||||
<li>NEW: Erik Alphonse's apply_macros library.</li>
|
<li>NEW: Erik Alphonse's apply_macros library.</li>
|
||||||
<li>FIXED: ord_del_element/3 (Nicos Angelopoulos).</li>
|
<li>FIXED: ord_del_element/3 (Nicos Angelopoulos).</li>
|
||||||
<li>FIXED: texinfo warnings (Stasinos).</li>
|
<li>FIXED: texinfo warnings (Stasinos).</li>
|
||||||
|
@ -10,6 +10,7 @@ mycflags="$CFLAGS"
|
|||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_SUBST(GCC)
|
AC_SUBST(GCC)
|
||||||
AC_SUBST(C_INTERF_FLAGS)
|
AC_SUBST(C_INTERF_FLAGS)
|
||||||
|
AC_SUBST(C_PARSER_FLAGS)
|
||||||
|
|
||||||
AC_ARG_ENABLE(rational-trees,
|
AC_ARG_ENABLE(rational-trees,
|
||||||
[ --enable-rational-trees support infinite rational trees ],
|
[ --enable-rational-trees support infinite rational trees ],
|
||||||
@ -81,6 +82,7 @@ then
|
|||||||
else
|
else
|
||||||
CFLAGS="-O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes"
|
CFLAGS="-O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes"
|
||||||
C_INTERF_FLAGS="-O3 -Wall -Wstrict-prototypes -Wmissing-prototypes"
|
C_INTERF_FLAGS="-O3 -Wall -Wstrict-prototypes -Wmissing-prototypes"
|
||||||
|
C_PARSER_FLAGS="-O3 -Wall -Wstrict-prototypes -Wmissing-prototypes"
|
||||||
case "$target_cpu" in
|
case "$target_cpu" in
|
||||||
i*86*)
|
i*86*)
|
||||||
CFLAGS="-DBP_FREE $CFLAGS"
|
CFLAGS="-DBP_FREE $CFLAGS"
|
||||||
@ -341,6 +343,9 @@ case $target_os in
|
|||||||
YAPLIB=yap.dll
|
YAPLIB=yap.dll
|
||||||
YAPLIB="libWYap.a"
|
YAPLIB="libWYap.a"
|
||||||
prefix="c:/Program\\ Files/Yap"
|
prefix="c:/Program\\ Files/Yap"
|
||||||
|
# gcc on cygwin seems to have trouble with longjmp
|
||||||
|
# and -fomit-frame-point -DBP_FREE
|
||||||
|
C_PARSER_FLAGS="$C_INTERF_FLAGS"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
if test $have_dl = yes
|
if test $have_dl = yes
|
||||||
|
@ -19,7 +19,8 @@ INSTALL_DATA=@INSTALL_DATA@
|
|||||||
INSTALL_PROGRAM=@INSTALL_PROGRAM@
|
INSTALL_PROGRAM=@INSTALL_PROGRAM@
|
||||||
srcdir=@srcdir@
|
srcdir=@srcdir@
|
||||||
|
|
||||||
PROGRAMS= $(srcdir)/assoc.yap \
|
PROGRAMS= $(srcdir)/apply_macros.yap \
|
||||||
|
$(srcdir)/assoc.yap \
|
||||||
$(srcdir)/atts.yap \
|
$(srcdir)/atts.yap \
|
||||||
$(srcdir)/avl.yap \
|
$(srcdir)/avl.yap \
|
||||||
$(srcdir)/charsio.yap \
|
$(srcdir)/charsio.yap \
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
* *
|
* *
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
|
'$qery'((?-)).
|
||||||
%
|
%
|
||||||
% This one should come first so that disjunctions and long distance
|
% This one should come first so that disjunctions and long distance
|
||||||
% cuts are compiled right with co-routining.
|
% cuts are compiled right with co-routining.
|
||||||
|
Reference in New Issue
Block a user