Compiling gpc from sources.

gpc is compiled as a member of the Gnu Compiler Collection (gcc)

The present archive enables you to compile gpc from original gnu sources.

It contains the content of gcc323s2.zip with changes to enable gpc compilation:
  gpc specific diffs, 
  changes in build.gcc\djbuild.sh build.gcc\djconfig.sh and install.gcc\makepkg.sh
    to compile only gpc and gcc (which is required as part of compilation of gpc)
   (the change to djconfig.sh can be reverted to compile the whole gcc collection)

  the gpc sources obtained from the gpc main site:
  http://www.gnu-pascal.de/beta/gpc-20041218.tar.gz
    
You need in addition 

- the gnu gcc sources (obtained from any gnu mirror) gcc-3.2.3.tar.gz


It can be compiled only with LFN=y (e.g. W9X dos box).

You need a fairly complete and working djgpp setup: 
see diffs\source\readme.DJGPP and notice that acnf213b and amake15b are needed.

Suppose your djgpp root dir is c:\djgpp, and you have put the sources in c:\temp
Type:

cd c:\djgpp
unzip32 c:\temp\gpc323s.zip

(LFN aware and preserving directory structure) 
will create a directory c:\djgpp\build and unzip files into it. Then

cd build
cp c:\temp\gcc-3.2.3.tar.gz .
sh build gcc-3.2.3.tar.gz gpc-20041218.tar.gz

will untar and patch the sources, and compile gcc and gpc (three stages build)

At the end you get the binary gpc323b.zip in the directory
c:\djgpp\build\gnu\install.gcc\
(together with irrelevant files and zips)

You install this binary in the usual way (it contains a file 
gnu\gcc-3.23\gcc\p\readme.djgpp which explains what to do).

