Some comments about my changes to the original distribution:

1) I have included only those files, which are needed to build
   the program, libraries and docs for DJGPP to save disk space.
   This package is already configured, that means all the files,
   for wich you need some special programs like awk or which
   normaly created with configure in an unix environment are built
   already.
   Currently the following targets supported:
     - coff-go32
     - coff-go32-exe
     - a.out-i386 (only for compatibility, not full tested)

2) Most changes in the BFD library are for supporting a new target,
   called 'coff-go32-exe'. This target allows all programs, which
   use this library to read stubbed coff images.
   All the binutils can also write this format. This means, you can
   do

     objcopy -o foo.exe --output-target=coff-go32-exe foo

   which is similiar to the current use of stubify

     stubify foo

   For writing the new BFD target, the library looks at first for
   an environment variable STUB, which should point to a file to use
   as the stub. If this variable does not exist or the file is not
   readable, the hardcoded stub (taken from the current stub.h) is
   used.

3) The linker ld is configured to use as default target the
   'coff-go32-exe' target and the current context of the
   djgpp.lnk is hardcoded in ld. That means
     ld -o foo.exe ...
   produces the same result as the current use with binutils 2.52
     ld -o foo -T djgpp.lnk ...
     stubify foo

   except differences, which are results of the new package
   (fixed bugs, ... )

4) If you want to create a package, which contains all the original
   files, extract the original archive, copy the complete directory
   'djgpp' into 'binutils-2.7'. After this change to this directory
   and run 'configur.bat'. In this case you need also a working awk
   to build some files in the 'libiberty' directory.


5) If you want to build the binutils in an other directory than the
   source directory do the following steps. As an example I describe
   my situation at home. The sources are in 's:/gnu/binutls-2.7' and
   I want to build the package in 'o:/gnu/binutils-2.7'.
 
     -  copy the complete directory 's:/gnu/binutils-2.7/djgpp' to
        'o:/gnu/binutils-2.7'
     -  change to 'o:/binutils-2.7/djgpp' and run configur.bat as

          configur.bat s:/gnu/binutils-2.7

        NOTE: Use slashes and not backslashes!!!
     -  Now change to 'o:/gnu/binutils-2.7' and run make.


If you have any questions about my patches, mail me at

robert.hoehne@mathematik.tu-chemnitz.de

Robert
