This is the port of gpc-19980830 (gpc20bb.zip), corresponding to
gcc-2.8.1 for DJGPP.  It comes as usual in different zip-archives
for the sources and the binaries.  This README.DJGPP file is an
extract from the README.DJGPP file that comes with gcc-2.8.1,
written by Andris Pavenis <pavenis@lanet.lv>, modified by
Peter Gerwinski <peter@gerwinski.de>.

The GNU Pascal compiler has some common parts with the GNU C compiler,
so you must install gcc-2.8.1 (gcc281b.zip) when you want to install
gpc-19980830.


Before you install gcc-2.8.1 and gpc-19980830
=============================================

The DJGPP distribution of gcc 2.8.1 is now different from the one used
by gcc 2.7.x. Now the directory structure is more similar to the
unix systems and also all the DJGPP standard directories are hardcoded
already.

To get no trouble, should remove at least you old gcc installation
completely, especially the compilers (cc1.exe, gpc1.exe ...), libgpc.a
and libgcc.a, because they will not overwritten by the new distribution.

If you don't remove them, and you don't modify your djgpp.env file,
gcc from gcc281b.zip will still uses these old binaries or the libgcc.a
because they are in directories, which are searched before the hardcoded
ones.

I also recommend remove files 'specs' and 'djgpp.djl' from %DJDIR/lib.
Archive gcc281b.zip contains replacement for these files which will
go to a different directory %DJDIR/lib/gcc-lib/djgpp/2.81.
If You have changed any of these 2 files You can consider to transfer
these changes to new files. It is possible to avoid removing these files
but don't do this unless You know what You are doing.

Additionally you can safely remove the [gcc] and [cpp] section from your
djgpp.env file, since the path-settings there are not longer needed, because
gcc (and cpp) is configured already in a way to search these directories
by default. If you have modified already these sections for instance to
have some of your own directories searched by default, you should leave
only those directories there and remove the standard DJGPP directories.

Modifying the djgpp.env is not really neccessary, but recommended by me.

I'm including an example of modified DJGPP.ENV and DJGPP.DJL in
directory gnu/gpc/p/.


How to install the binary archives?
===================================

Install them like any other DJGPP binary archive:

- change to your DJGPP base directory (normally c:/djgpp) and unzip
  there the archive

  unzip gcc281b.zip
  unzip gpc20bb.zip

  (if you are using PKUNZIP, remember to use the -d switch!!)

and that's all.


Installing under Windows 95
===========================

If you want to install and use gcc under Windows 95 you should remember
that this OS can handle long and case sensetive filenames. Here ar three
cases:

1. Only long filenames
----------------------

Unzip the binaries with an unzip program, which can restore the long filenames
stored in the zip archive.

2. Only short filenames
-----------------------

Unzip the binaries with an unzip program, which doesn't know about long
filenames, or if your unzipper knows about them, please follow at first
the steps descripbed in the DJGPP FAQ 2.01 in section 
about setting the NameNumericTail to 0 __BEFORE__!!! unzipping the archives.

3. Long and short filenames at the same time
--------------------------------------------

Use an unzip program which can restore the long filenames and do the
same like under 2. when the unzipper knows about long filenames.


Reporting bugs
==============

If you found a bug in GCC, please report it to the GCC bug adresses and
_NOT_ (or at least not only) in the DJGPP news group.  If you found a
bug in GPC, please report it to the GPC mailing list <gpc@hut.fi>.  But
if you think you found a bug in the DJGPP related things, the please
report in comp.os.msdos.djgpp (the news group) or mail it to
djgpp@delorie.com, which is the gateway to the news group.


Credits
=======

Thanks to Robert H”hne <robert.hoehne@gmx.net> for his DJGPP port of 
gcc-2.8.0 which was used as a base of this port and his help (including
exception support)


  Have fun with GPC and GCC!
