This archive contains scripts and other related files I used to generate
sources of gcc-3.0.3 for DJGPP. It is intended MOSTLY FOR DEVELOPERS
and included shell scripts are not very complicated. So no detailed
instructions (You may need to edit files). If You don't understand
what they means, please use binary archives instead

	build.bat - generate sources of gcc-3.0.3 for DJGPP and runs
	          building binaries.

	build.sh - same as build.bat but only shell script (make sure
		  You can bash and make patched to workaround LDT
		  descriptor leaks under Windows if You use this) 

        unpack-gcc.sh - script used to generate source archive for DJGPP.
		  from original source archives. See script itself
		  for more info. 

        gcc-patch/gcc-patch.sh - script that patches gcc-3.0.3 (or versions
                  near enough to it) sources. 

        gcc-patch/diffs/ - directory that contains files used by script that
                  patches gcc sources (see script for details)

	mk-gcc30s2-zip.sh - creates archive gcc303s2.zip from this and other
		  related files

You may try to use this all also to other versions near enough to gcc-3.0.3
but please look whether all patches applies cleanly and there is no other
problems.

So to build gcc-3.0.3 for DJGPP:
	
1) unzip this archive in some directory preserving directory structure
2) put original FSF source archive off gcc-3.0.3 (gcc-3.0.3.tar.gz or
   gcc-3.0.3.tar.bz2) in this directory
3) run build.sh or build.dat and go doing something else ...
4) after some time You should be able to collect archives 
	gcc303s.zip
	gnu/gcc-3.03/install.djg/gcc303b.zip
	gnu/gcc-3.03/install.djg/gpp303b.zip
	gnu/gcc-3.03/install.djg/g77303b.zip
	gnu/gcc-3.03/install.djg/objc303b.zip
   and install them. If something goes wrong then try looking at log
   files which are created at build time and figure out what went wrong.

This should work if You have all needed packages installed and they are 
fresh enough. 

Andris  <pavenis@lanet.lv>
		  