home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / programm / programi / gcc_9112.lzh / README
Encoding:
Text File  |  1991-12-15  |  3.8 KB  |  88 lines

  1. This archives consists of the latest version of my gcc environment, thus
  2. the compiler, driver, assembler, linker, header files for inline code
  3. generation of library calls (done with library-pragmas in other compilers)
  4. and some tools. 
  5.  
  6. In most cases these are not real new files, but they're linked with a newer
  7. version of the c-library, I tried to make sure, they're all 68000-compatible,
  8. but I can't verify this, good luck;-) I released this archive mainly because
  9. I got many letters asking for an archive that contains the latest version
  10. of what's available, so they don't have to go collecting various files from
  11. various archives.
  12.  
  13. Since some files are directly taken from upd911009.lzh, I include here the
  14. README that accompanied that release:
  15.  
  16. ----------------------------------------------------------------------------
  17. This update consists of the following parts:
  18.  
  19.   o include20/inline
  20.     These are headers to support the larger libraries under 2.04. Some
  21.     libraries are lots larger, so as long as you don't need special
  22.     2.0 functions, I'd recommend you keep the 1.3 inline files for
  23.     faster compilation.
  24.  
  25.   o hunk2gcc
  26.     Binary and source for the hunk to a.out converter. See the README file
  27.     in this directory for instructions.
  28.  
  29.   o gnu-src/gnu-bin
  30.     These are mainly the current versions of those tools I'm using myself.
  31.     Not all files required for compilation are included, since the other
  32.     files can be used straight from the GNU distribution. For example,
  33.     you need `cplus-dem.c', `getopt.c', `getopt1.c' to compile ld, and
  34.     the getopt-files to compile ar. You probably need some headers of
  35.     the binutils-distrib as well.
  36.     For gcc: this is slightly modified (compared with the former version)
  37.     to now call ld (as it did once;-)), but not include `gnulib' anymore,
  38.     since I merged all of those files into libc.a. Since you have to do
  39.     a conversion anyway if you want to use your old library, it's best
  40.     you merge the gnulib-files into it as well. To recompile gcc you
  41.     need the gcc-source tree...
  42.     
  43.   o gnulib
  44.     This is a split gnulib from the gcc distribution. It calls the
  45.     math libraries directly instead of going thru glue functions. You
  46.     might want to extract the contents of `gnulib.a' and merge the
  47.     files with your libc.
  48.  
  49.  
  50. The main changes to `ld' are bugfixes, it didn't handle ABS symbols
  51. right before, it should now. I provided `ar' just that you don't have
  52. to go out looking for it somewhere, it didn't change.
  53.  
  54. ----------------------------------------------------------------------------
  55.  
  56. One thing to take care with ld: I didn't mention so far, that the -e
  57. option (provide an entry point) is currently *broken*, so don't use it. What
  58. you need to do is make sure, the first location in the code hunk is 
  59. executable, and not for example the string "dos.library" ;-) You can ensure
  60. this, if you compile your startup-file with
  61.   gcc -fwritable-strings
  62. That way, strings to into data space, and won't migrate to the start of
  63. the text segment.
  64.  
  65.  
  66. INSTALLATION
  67. ------------
  68. Since this is a complete release, some directives for installation are
  69. probably needed...
  70.  
  71. o the directory local/ contains the preprocessor, c-compiler, assembler
  72.   and linker. Assign LOCAL: to this directory.
  73. o gnu-bin/ contains the driver (gcc) and the librarian (ar). Either copy
  74.   those files into a directory you have in your PATH or add gnu-bin/ to
  75.   your PATH.
  76. o gcc currently doesn't include it's own c-library (it will soon..), so you
  77.   have to provide your own. Either compile one from sources (eg. PDC-sources)
  78.   or convert an existing library with hunk2gcc (see the README in its
  79.   directory).
  80.   Assign GCC: to a directory, so that Gcc:include/ points your header
  81.   files, and Gcc:lib/ contains your c-library (called libc.a), and your
  82.   c-startup file (called crt0.o).
  83.  
  84.  
  85. -Markus Wild
  86.  
  87. <wild@nessie.cs.id.ethz.ch>
  88.