lua-users home
lua-l archive

Re: [ANN] Lrexlib 2.4.0 released

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Shmuel Zeigerman writes:
> I'm pleased to announce the release of Lrexlib 2.4.0.
I think a tutorial and/or examples would help for a more general audience and
put some of this in context (e.g. compare with tutorials mentioned at the top of
perlre[1]). Possibly that's suitable for the wiki. It's a bit technical as is.
 For example, many won't know of the essential differences between POSIX, PCRE,
Oniguruma, and Lua's own pattern matching library.
BTW, here's the changes required to get it to build on Cygwin/gcc:
$ diff -u src/defaults.mak~ src/defaults.mak
--- src/defaults.mak~ 2007年04月21日 13:29:10.000000000 -0400
+++ src/defaults.mak 2008年08月04日 23:35:14.453125000 -0400
@@ -6,7 +6,7 @@
 # If the default settings don't work for your system,
 # try to uncomment and edit the settings below.
 #INC_LUA = -I/usr/include/lua5.1
-#LIB_LUA = -llua
+LIB_LUA = -llua
 MYCFLAGS = -W -Wall -g $(INC_LUA) $(INC_PCRE)
$ diff -u src/common.mak~ src/common.mak
--- src/common.mak~ 2008年06月14日 20:11:08.000000000 -0400
+++ src/common.mak 2008年08月04日 23:35:48.375000000 -0400
@@ -6,7 +6,7 @@
 CFLAGS = $(MYCFLAGS) $(DEFS) $(INC)
 TRG_AR = lib$(TRG).a
 TRG_SO = $(TRG).so
-LD = ld
+LD = gcc
 LDFLAGS= -shared
 all: $(TRG_AR) $(TRG_SO)
[1] http://search.cpan.org/~rgarcia/perl-5.10.0/pod/perlre.pod

AltStyle によって変換されたページ (->オリジナル) /