---------- Forwarded message ----------
Date: Fri, 16 May 2008 17:16:56 +0200
From: H.Merijn Brand <h.m.brand@???>
To: Philip Hazel <ph10@???>
Subject: PCRE-7.7
Good news: runs almost out-of-the-box on
* HP-UX 11.00-PA 32,
* HP-UX 11.00-PA 64,
* HP-UX 11.11-PA 32,
* HP-UX 11.11-PA 64,
* HP-UX 11.23-PA 64,
* HP-UX 11.23-IPF 64, and
* AIX 5.2.0.0 64
(did not try HP-UX 10.20-PA 32 yet)
But after cursing libtool and AIX for hours, and trying to narrow it
down to something understandable, I just cannot get it to work on AIX
5.2/32 with either AIX' xlc or GNU gcc
pcre-7.7 188 > gdb pcretest core
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "powerpc-ibm-aix5.2.0.0"...
ptrace ldinfo: No such process.
(gdb) where
#0 pchars (p=0xf017cff0 "", length=536873384, f=0x18) at pcretest.c:468
#1 0x10000ee8 in main (argc=0, argv=0x0) at pcretest.c:2060
(gdb)
pcre-7.7 189 > cat GNUmakefile
PCRE_OBJ = pcre_compile.o pcre_config.o pcre_dfa_exec.o pcre_exec.o \
pcre_fullinfo.o pcre_get.o pcre_globals.o pcre_info.o \
pcre_maketables.o pcre_newline.o pcre_ord2utf8.o \
pcre_refcount.o pcre_study.o pcre_tables.o pcre_try_flipped.o \
pcre_ucp_searchfuncs.o pcre_valid_utf8.o pcre_version.o \
pcre_xclass.o pcre_chartables.o
POSIX_OBJ = pcreposix.o
INCLUDE = -I. -I/pro/local/include -I/usr/local/include
DEFINES = -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE \
-DPIC -DHAVE_CONFIG_H
CFLAGS = -g -O2 -DPIC -qlanglvl=extended -qmaxmem=-1 -qnoansialias
#LDFLAGS = -L/pro/local/lib -brtl -bdynamic -bmaxdata:0x80000000
LDFLAGS = -L. -L/pro/local/lib -lpcre
TESTS = RunTest RunGrepTest
.c.o:
$(CC) $(CFLAGS) $(DEFINES) $(INCLUDE) -c $<
all: config.h libpcre.a libpcreposix.a pcretest pcregrep
clean:
rm -f *.[oa] pcre_chartables.c pcretest pcregrep
again: clean all
config.h: config.h.aix32
ln -s config.h.aix32 config.h
pcre_chartables.c: pcre_chartables.c.dist
ln -s pcre_chartables.c.dist pcre_chartables.c
libpcre.a: $(PCRE_OBJ)
ar cru libpcre.a $(PCRE_OBJ)
libpcreposix.a: $(POSIX_OBJ)
ar cru libpcreposix.a $(POSIX_OBJ)
test: all
RunTest
RunGrepTest
pcretest: pcretest.o
pcregrep: pcregrep.o
--
H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using & porting perl 5.6.2, 5.8.x, 5.10.x on HP-UX 10.20, 11.00, 11.11,
& 11.23, SuSE 10.1 & 10.2, AIX 5.2, and Cygwin. http://qa.perl.org
http://mirrors.develooper.com/hpux/ http://www.test-smoke.org
http://www.goldmark.org/jeff/stupid-disclaimers/