README file for PCRE (Perl-compatible regular expression library)
-----------------------------------------------------------------
NOTE: This set of files relates to PCRE releases that use the original API,
with library names libpcre, libpcre16, and libpcre32. January 2015 saw the
first release of a new API, known as PCRE2, with release numbers starting at
10.00 and library names libpcre2-8, libpcre2-16, and libpcre2-32. The old
libraries (now called PCRE1) are still being maintained for bug fixes, but
there will be no new development. New projects are advised to use the new PCRE2
libraries.
The latest release of PCRE1 is always available in three alternative formats
from:
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-xxx.tar.gz
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-xxx.tar.bz2
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-xxx.zip
There is a mailing list for discussion about the development of PCRE at
pcre-dev@exim.org. You can access the archives and subscribe or manage your
subscription here:
https://lists.exim.org/mailman/listinfo/pcre-dev
Please read the NEWS file if you are upgrading from a previous release.
The contents of this README file are:
The PCRE APIs
Documentation for PCRE
Contributions by users of PCRE
Building PCRE on non-Unix-like systems
Building PCRE without using autotools
Building PCRE using autotools
Retrieving configuration information
Shared libraries
Cross-compiling using autotools
Using HP's ANSI C++ compiler (aCC)
Compiling in Tru64 using native compilers
Using Sun's compilers for Solaris
Using PCRE from MySQL
Making new tarballs
Testing PCRE
Character tables
File manifest
The PCRE APIs
-------------
PCRE is written in C, and it has its own API. There are three sets of
functions, one for the 8-bit library, which processes strings of bytes, one for
the 16-bit library, which processes strings of 16-bit values, and one for the
32-bit library, which processes strings of 32-bit values. The distribution also
includes a set of C++ wrapper functions (see the pcrecpp man page for details),
courtesy of Google Inc., which can be used to call the 8-bit PCRE library from
C++. Other C++ wrappers have been created from time to time. See, for example:
https://github.com/YasserAsmi/regexp, which aims to be simple and similar in
style to the C API.
The distribution also contains a set of C wrapper functions (again, just for
the 8-bit library) that are based on the POSIX regular expression API (see the
pcreposix man page). These end up in the library called libpcreposix. Note that
this just provides a POSIX calling interface to PCRE; the regular expressions
themselves still follow Perl syntax and semantics. The POSIX API is restricted,
and does not give full access to all of PCRE's facilities.
The header file for the POSIX-style functions is called pcreposix.h. The
official POSIX name is regex.h, but I did not want to risk possible problems
with existing files of that name by distributing it that way. To use PCRE with
an existing program that uses the POSIX API, pcreposix.h will have to be
renamed or pointed at by a link.
If you are using the POSIX interface to PCRE and there is already a POSIX regex
library installed on your system, as well as worrying about the regex.h header
file (as mentioned above), you must also take care when linking programs to
ensure that they link with PCRE's libpcreposix library. Otherwise they may pick
up the POSIX functions of the same name from the other library.
One way of avoiding this confusion is to compile PCRE with the addition of
-Dregcomp=PCREregcomp (and similarly for the other POSIX functions) to the
compiler flags (CFLAGS if you are using "configure" -- see below). This has the
effect of renaming the functions so that the names no longer clash. Of course,
you have to do the same thing for your applications, or write them using the
new names.
Documentation for PCRE
----------------------
If you install PCRE in the normal way on a Unix-like system, you will end up
with a set of man pages whose names all start with "pcre". The one that is just
called "pcre" lists all the others. In addition to these man pages, the PCRE
documentation is supplied in two other forms:
1. There are files called doc/pcre.txt, doc/pcregrep.txt, and
doc/pcretest.txt in the source distribution. The first of these is a
concatenation of the text forms of all the section 3 man pages except
the listing of pcredemo.c and those that summarize individual functions.
The other two are the text forms of the section 1 man pages for the
pcregrep and pcretest commands. These text forms are provided for ease of
scanning with text editors or similar tools. They are installed in
<prefix>/share/doc/pcre, where <prefix> is the installation prefix
(defaulting to /usr/local).
2. A set of files containing all the documentation in HTML form, hyperlinked
in various ways, and rooted in a file called index.html, is distributed in
doc/html and installed in <prefix>/share/doc/pcre/html.
Users of PCRE have contributed files containing the documentation for various
releases in CHM format. These can be found in the Contrib directory of the FTP
site (see next section).
Contributions by users of PCRE
------------------------------
You can find contributions from PCRE users in the directory
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/Contrib
There is a README file giving brief descriptions of what they are. Some are
complete in themselves; others are pointers to URLs containing relevant files.
Some of this material is likely to be well out-of-date. Several of the earlier
contributions provided support for compiling PCRE on various flavours of
Windows (I myself do not use Windows). Nowadays there is more Windows support
in the standard distribution, so these contibutions have been archived.
A PCRE user maintains downloadable Windows binaries of the pcregrep and
pcretest programs here:
http://www.rexegg.com/pcregrep-pcretest.html
Building PCRE on non-Unix-like systems
--------------------------------------
For a non-Unix-like system, please read the comments in the file
NON-AUTOTOOLS-BUILD, though if your system supports the use of "configure" and
"make" you may be able to build PCRE using autotools in the same way as for
many Unix-like systems.
PCRE can also be configured using the GUI facility provided by CMake's
cmake-gui command. This creates Makefiles, solution files, etc. The file
NON-AUTOTOOLS-BUILD has information about CMake.
PCRE has been compiled on many different operating systems. It should be
straightforward to build PCRE on any system that has a Standard C compiler and
library, because it uses only Standard C functions.
Building PCRE without using autotools
-------------------------------------
The use of autotools (in particular, libtool) is problematic in some
environments, even some that are Unix or Unix-like. See the NON-AUTOTOOLS-BUILD
file for ways of building PCRE without using autotools.
Building PCRE using autotools
-----------------------------
If you are using HP's ANSI C++ compiler (aCC), please see the special note
in the section entitled "Using HP's ANSI C++ compiler (aCC)" below.
The following instructions assume the use of the widely used "configure; make;
make install" (autotools) process.
To build PCRE on system that supports autotools, first run the "configure"
command from the PCRE distribution directory, with your current directory set
to the directory where you want the files to be created. This command is a
standard GNU "autoconf" configuration script, for which generic instructions
are supplied in the file INSTALL.
Most commonly, people build PCRE within its own distribution directory, and in
this case, on many systems, just running "./configure" is sufficient. However,
the usual methods of changing standard defaults are availa
没有合适的资源?快使用搜索试试~ 我知道了~
bluez5.33 ARM移植文档
共7868个文件
gz:883个
h:416个
3:124个
3星 · 超过75%的资源 需积分: 3 33 下载量 184 浏览量
2019-01-04
10:47:25
上传
评论 1
收藏 78.09MB RAR 举报
温馨提示
蓝牙无线传输协议bluez5.33版本的ARM移植文档,本文档详细介绍了移植环境,编译工具及步骤,文档还提供了移植中出现错误的解决方案。压缩包内包含了各个依赖库和资源包的源码,并且在2_arm目录下有编译好的所有文件。编译工具和环境请参考移植文档。
资源推荐
资源详情
资源评论
收起资源包目录
bluez5.33 ARM移植文档 (7868个子文件)
libgio-2.0.so.0 6.05MB
libgio-2.0.so.0.5900.0 6.05MB
libglib-2.0.so.0.5900.0 2.98MB
libglib-2.0.so.0 2.98MB
libgobject-2.0.so.0.5900.0 1.08MB
libgobject-2.0.so.0 1.08MB
libblkid.so.1.1.0 666KB
libmount.so.1.1.0 448KB
libdbus-1.so.3.24.0 342KB
libusb-1.0.so.0 298KB
libusb-1.0.so.0.1.0 298KB
libudev.so.0 187KB
libudev.so.0.13.0 187KB
libudev.so.0 182KB
libgudev-1.0.so.0 109KB
libgudev-1.0.so.0.1.0 109KB
libgudev-1.0.so.0 108KB
libuuid.so.1.3.0 56KB
libgmodule-2.0.so.0.5900.0 35KB
libgmodule-2.0.so.0 35KB
libpcrecpp.so.0 35KB
libpcreposix.so.0 20KB
libgthread-2.0.so.0.5900.0 9KB
libgthread-2.0.so.0 9KB
terminology-1.0.0 3KB
terminology-1.0.0 3KB
linux3.0 2KB
linux3.0 2KB
minix-3.0 1KB
minix-3.0 1KB
bg2.0 560B
bg2.0 560B
inventec-symphony_6.0_7.0 22B
inventec-symphony_6.0_7.0 22B
bg2.0nv 609B
bg2.0nv 609B
bg2.0rv 591B
bg2.0rv 591B
libblkid.so.1 666KB
libpcre.so.1 533KB
libmount.so.1 448KB
libexpat.so.1 375KB
libical.so.1.0.1 337KB
libical.so.1 337KB
libncursesw.so.6.1 335KB
libudev.so.0.13.1 182KB
libgudev-1.0.so.0.1.1 108KB
libicalss.so.1.0.1 95KB
libicalss.so.1 95KB
libz.so.1 90KB
libicalvcal.so.1.0.1 69KB
libicalvcal.so.1 69KB
libformw.so.6.1 58KB
libuuid.so.1 56KB
pcretest.1 48KB
pcregrep.1 35KB
libpcrecpp.so.0.0.1 35KB
libmenuw.so.6.1 30KB
getopt.1 14KB
libpanelw.so.6.1 12KB
hexdump.1 11KB
xmlwf.1 8KB
scriptreplay.1 7KB
hcitool.1 6KB
hciconfig.1 5KB
script.1 5KB
logger.1 5KB
col.1 5KB
renice.1 5KB
readprofile.1 5KB
whereis.1 4KB
flock.1 4KB
taskset.1 4KB
ionice.1 4KB
look.1 4KB
cal.1 4KB
colcrt.1 4KB
chrt.1 4KB
dmesg.1 3KB
sdptool.1 3KB
hciattach.1 3KB
wall.1 3KB
rfcomm.1 3KB
column.1 3KB
hcidump.1 3KB
ipcrm.1 3KB
colrm.1 3KB
pcre-config.1 3KB
rev.1 3KB
bccmd.1 3KB
tailf.1 3KB
terminology-0.6.1 2KB
terminology-0.6.1 2KB
lscpu.1 2KB
namei.1 2KB
ciptool.1 2KB
uuidgen.1 2KB
unshare.1 2KB
mcookie.1 2KB
fallocate.1 2KB
共 7868 条
- 1
- 2
- 3
- 4
- 5
- 6
- 79
资源评论
- 旗木达尔2019-04-02有些细节还是缺少
求求你了别报错了
- 粉丝: 350
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功