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:
vsc 2001-08-10 23:07:00 +00:00
parent 5384e3b4d7
commit a09e21bf68
6 changed files with 670 additions and 655 deletions

View File

@ -50,6 +50,7 @@ CC=@CC@
CPPFLAGS=@CPPFLAGS@ -I. -I$(srcdir)/H -I$(srcdir)/OPTYap
CFLAGS= @CFLAGS@ $(YAP_EXTRAS) $(DEFS) $(CPPFLAGS)
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.
@ -348,7 +349,7 @@ other.o: $(srcdir)/C/other.c
$(CC) -c $(CFLAGS) $(srcdir)/C/other.c -o $@
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
$(CC) -c $(CFLAGS) -DYAP_VERSION=\"$(VERSION)\" -DBIN_DIR=\"$(BINDIR)\" -DLIB_DIR=\"$(YAPLIBDIR)\" $(srcdir)/C/save.c -o $@

View File

@ -16,6 +16,8 @@
<h2>Yap-4.3.20:</h2>
<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>FIXED: ord_del_element/3 (Nicos Angelopoulos).</li>
<li>FIXED: texinfo warnings (Stasinos).</li>

1311
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -10,6 +10,7 @@ mycflags="$CFLAGS"
AC_PROG_CC
AC_SUBST(GCC)
AC_SUBST(C_INTERF_FLAGS)
AC_SUBST(C_PARSER_FLAGS)
AC_ARG_ENABLE(rational-trees,
[ --enable-rational-trees support infinite rational trees ],
@ -81,6 +82,7 @@ then
else
CFLAGS="-O3 -fomit-frame-pointer -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
i*86*)
CFLAGS="-DBP_FREE $CFLAGS"
@ -341,6 +343,9 @@ case $target_os in
YAPLIB=yap.dll
YAPLIB="libWYap.a"
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

View File

@ -19,7 +19,8 @@ INSTALL_DATA=@INSTALL_DATA@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
srcdir=@srcdir@
PROGRAMS= $(srcdir)/assoc.yap \
PROGRAMS= $(srcdir)/apply_macros.yap \
$(srcdir)/assoc.yap \
$(srcdir)/atts.yap \
$(srcdir)/avl.yap \
$(srcdir)/charsio.yap \

View File

@ -15,6 +15,7 @@
* *
*************************************************************************/
'$qery'((?-)).
%
% This one should come first so that disjunctions and long distance
% cuts are compiled right with co-routining.