Mail Archives: djgpp-announce/2010/05/09/18:11:25
This is a port of GNU Diffutils version 3.0 to MSDOS/DJGPP.
Diffutils are a collection of programs for finding differences
between files:
* diff -- displays differences between 2 files line by line;
* diff3 -- displays differences between 3 files (usually, 2 files
and their common ancestor);
* sdiff -- displays differences between 2 files side by side, and
allows to merge between them interactively;
* cmp -- displays differences between 2 binary files byte by byte.
The documentation of the package includes, in addition to the four
programs mentioned above, also the manual for the Patch utility.
DJGPP specific changes.
=======================
- This port will detect at run time if it is running on an OS with LFN support
or not and choose the appropriate temp file name pattern accordingly.
E.g.: "sdiffXXXXXX" if LFN support is available, else "dfXXXXXX" will be
used.
- This port will honor also the DOS specific environment variable TEMP and
TMP if TMPDIR is not set. If neither is accessible then P_tmpdir will
define the location to store temp files. If this directory also does not
exist then the current working directory will be used.
- All other changes are those required to get gnulib sources compiled with
djgpp and are not user visible.
To build this port you will need:
- to have an OS with LFN support to configure and compile the source
package. I have no plans to support SFN systems to build the diffutils
binaries.
- if you use djdev204 you will have to adjust your /dev/env/DJDIR/include/time.h.
_rdtsc declaration and definition both needs static as qualifier and the
extern qualifier removed from the declaration.
As usual, all djgpp specific files (config.bat, diffs, README files, etc.)
are located in the /djgpp subdir.
The port has been configured, compiled and tested on a WinXP Prof SP3 system
with LFN support using stock djdev203/djdev204, gcc442 and bsh205bbr3. LFN
support is required due to SFN file name conflicts that I have not resolved.
Please note that the test suite does not work at all. This is not a port
issue. No test suite generated with autoconf 2.65.35 or later works with
djgpp. I still have not figured out if this is a bash or a make issue.
Please also note that there is a /ms directory that contains files that are
part of the official FSF diffutils distribution. I have inspected those files
but I have never used them nor I have plans to change this in the future.
Due to the massive use of gnulib code it is no longer possible to compile the
official FSF distribution out-of-the-box. So I will neither try to use those
files nor to keep them up to date. I will only use my own ones. If someone
else would like to keep those files up to date it will be OK with me.
For further information about GNU diffutils please read the info docs and
NEWS file.
The port consists of the usual three packages that can be downloaded from
ftp.delorie.com and mirrors as (time stamp 2010-05-09):
GNU Diffutils 3.0 binary, info and man format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/dif30b.zip
GNU Diffutils 3.0 dvi, html and ps format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/dif30d.zip
GNU Diffutils 3.0 source:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/dif30s.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 (time stamp 2010-05-09):
GNU Diffutils 3.0 binary, info and man format documentation:
ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/dif30b.zip
Send Diffutils specific bug reports to <bug-diffutils 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 -