Mail Archives: djgpp/2009/02/15/14:02:36.1
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f
|
Message-Id: | <200902151859.n1FIxtfi008564@delorie.com>
|
X-Authenticated: | #27081556
|
X-Provags-ID: | V01U2FsdGVkX1+jiWw3WlejcUTZZjU2ePCGItqs2WvlyniM8rf2mN
|
| zh85IP/rr4uuM3
|
From: | "Juan Manuel Guerrero" <juan DOT guerrero AT gmx DOT de>
|
To: | <djgpp-announce AT delorie DOT com>
|
Subject: | ANNOUNCE: DJGPP port of GNU Gperf 3.0.4 uploaded.
|
Date: | Sun, 15 Feb 2009 12:56:34 +0100
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106
|
X-Y-GMX-Trusted: | 0
|
X-FuHaFi: | 0.54
|
This is a port of GNU Gperf 3.0.4 to MSDOS/DJGPP.
GNU gperf is a program that generates perfect hash functions for sets
of key words. A perfect hash function is:
A hash function and a data structure that allows
recognition of a key word in a set of words using
exactly 1 probe into the data structure.
DJGPP specific changes.
=======================
There are no DJGPP specific changes to the sources at all.
Only a couple of testsuit files need a minor changes to get the testsuit
working under Win9X/MSDOS. The changes are performed by tscript.sed.
I have only added the usual DJGPP subdirectory, that contains the batch
file and sed scripts needed to configure, compile and test the package.
No attempts have been done to make the package configure and compile on
plain DOS, so you probably will need LFN support.
Some remarks about building the binaries from sources.
======================================================
Please not that source code is almost completely written in C++,
so you will need to install the C++ compiler if you want to re-
compile the sources.
See the readme file in the DJGPP subdir for a complete list of the
required packages.
If you run the testsuit with the command 'make check' you will get
output lines similar to this one:
../src/gperf -p -D -k1,'$' -s 2 -o ./adadefs.gperf > preinset.c
1 input keys have identical hash values, examine output carefully...
This is neither a bug in the DJGPP port nor in the original gperf sources.
The above warning is triggered by the '-D' option that allows to build
non-perfect hash tables, i.e with collisions.
There is a second issue that should be observed: If the testsuit breaks
because the lu2out.exe program dies with a SISEGV, then you have used
an unzip program that "silently" transforms UNIX-style EOL into
MSDOS-style EOL (this is typical for WinZIP). This implies that the
file lang-ucs2.in has been corrupted. This is a **binary** file that
should not be modified. In this case unzip the sources again, this time
using djtar.exe, in some temporary directory an replace the broken
lang-ucs2.in with the new one and run the command 'make check' again.
No test of the testsuit should fail.
Please read the docs to become familiar with this binary.
The binaries, docs and surces can be downloaded from ftp.delorie.com and
mirrors as(timestamp 2009-02-10):
Gperf 3.0.4 binary, info and man format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/gprf304b.zip
Gperf 3.0.4 dvi, html, ps and pdf format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/gprf304d.zip
Gperf 3.0.4 source:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/gprf304s.zip
For the convenience of the WinXP users the binaries has been produced
a second time using the djdev204 beta library. This package is available
at ftp.delorie.com and mirrors as (timestamp 2009-02-10):
Gperf 3.0.4 binary, info and man format documentation:
ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/gprf304b.zip
The gperf.info and gperf.html files explain how the program works,
the form of the input, what options are available, and hints on choosing
the best options for particular key words set.
See the file NEWS for a list of major changes in the current release.
Send gperf specific bug reports to <bug-gnu-gperf AT gnu DOT org>.
Send suggestions and bug reports concerning the DJGPP port to
comp.os.msdos.djgpp or <djgpp AT delorie DOT com>.
Enjoy.
Guerrero, Juan Manuel <juan DOT guerrero AT gmx DOT de>
- Raw text -