📄 regex-3.8-gnuwin32.diffs
字号:
diff -cr -x config.log -x config.status -x config.cache -x '*.Po' -I 'regex-3.8-orig*' regex-3.8-orig/Makefile regex-3.8/Makefile
*** regex-3.8-orig/Makefile Tue Aug 10 15:51:48 1999
--- regex-3.8/Makefile Sat Aug 24 15:35:02 2002
***************
*** 4,24 ****
# Put -Dconst= in for a pre-ANSI compiler.
# Do not take -DPOSIX_MISTAKE out.
# REGCFLAGS isn't important to you (it's for my use in some special contexts).
! CFLAGS=-I. -DPOSIX_MISTAKE -DREDEBUG $(REGCFLAGS)
# If you have a pre-ANSI compiler, put -o into MKHFLAGS. If you want
# the Berkeley __P macro, put -b in.
MKHFLAGS=
# Flags for linking but not compiling, if any.
! LDFLAGS=
# Extra libraries for linking, if any.
! LIBS=
# Internal stuff, should not need changing.
OBJPRODN=regcomp.o regexec.o regerror.o regfree.o
! OBJS=$(OBJPRODN) split.o debug.o main.o
H=cclass.h cname.h regex2.h utils.h
REGSRC=regcomp.c regerror.c regexec.c regfree.c
ALLSRC=$(REGSRC) engine.c debug.c main.c split.c
--- 4,26 ----
# Put -Dconst= in for a pre-ANSI compiler.
# Do not take -DPOSIX_MISTAKE out.
# REGCFLAGS isn't important to you (it's for my use in some special contexts).
! CFLAGS=-I. -IH:/mingw/mingw32/include/libc -DPOSIX_MISTAKE -DREDEBUG $(REGCFLAGS) \
! -fnative-struct -fno-rtti -fno-exceptions -mcpu=i386 -march=i386
# If you have a pre-ANSI compiler, put -o into MKHFLAGS. If you want
# the Berkeley __P macro, put -b in.
MKHFLAGS=
# Flags for linking but not compiling, if any.
! LDFLAGS= -Wl,-s -Wl,--enable-auto-import
# Extra libraries for linking, if any.
! LIBS= -L. -lregex -lc -liberty
# Internal stuff, should not need changing.
OBJPRODN=regcomp.o regexec.o regerror.o regfree.o
! OBJSRE=split.o debug.o main.o
! OBJS=$(OBJPRODN) $(OBJSRE)
H=cclass.h cname.h regex2.h utils.h
REGSRC=regcomp.c regerror.c regexec.c regfree.c
ALLSRC=$(REGSRC) engine.c debug.c main.c split.c
***************
*** 59,66 ****
main.o: main.ih
# tester
! re: $(OBJS)
! $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) -o $@
# regression test
r: re tests
--- 61,68 ----
main.o: main.ih
# tester
! re: $(OBJSRE)
! $(CC) $(CFLAGS) $(LDFLAGS) $(OBJSRE) $(LIBS) -o $@
# regression test
r: re tests
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -