home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / gnu / gccsrc3 / readme.min < prev    next >
Encoding:
Text File  |  1993-07-23  |  2.4 KB  |  72 lines

  1. ***WARNING**
  2. ***WARNING**
  3.     if you got gcc-1.37 source from prep.ai.mit.edu or ohio-state,
  4. then you must first apply two patches in patch1.137 and patch2.137: this
  5. patch is relevant to both atari and non-atari versions of the compiler.
  6. if you grabbed the gcc-1.37 source from dsrgsun, then these patches are already
  7. applied.
  8.     if you got gcc-1.37.1 from prep or ohio-state, or you have already
  9. applied the gcc.diff-1.37-1.37.1 patch on prep,  then you only need
  10. to apply patch2.137.
  11.  
  12. --------------------
  13.  
  14. This is the README file for the GNU native/cross compiler. Diffs are
  15. with respect to GCC V1.37.1
  16.  
  17.     -configuration:
  18.         copy all the files from the gcc v1.37 distribution
  19.         into a directory called SRC (i created symbolic links between
  20.         the files).
  21.         copy all the files from the gcc v1.37 distribution
  22.              sub-directory config into SRC/config
  23.         copy all the files in this directory into SRC.
  24.         copy xm-atari.h and tm-atari.h into SRC/config
  25.         cd to SRC
  26.         Apply the diffs using larry walls patch program
  27.             patch < gcc-137.diff
  28.         make the following links in SRC
  29.             config.h to config/xm-atari.h
  30.             tm.h to config/tm-atari.h
  31.             aux-output.c to config/out-m68k.c
  32.             md to config/m68k.md
  33.  
  34.         edit Makefile.* to make sure the following
  35.         are defined appro.:
  36.         CROSSDIR -- the home directory of the cross dev. system
  37.  
  38.         edit gcc.c xm-atari.h & tm-atari.h and replace all
  39.         instances of the string "/dsrg/bammi/cross-../..."
  40.         with CROSSDIR/... (ie. the same string as CROSSDIR above
  41.         plus whatever was there after /dsrg/bammi/cross-.../ ).
  42.  
  43.     -if you already have a native minix-gcc and want to use
  44.      that to make new minix executables, skip the next few
  45.      steps that make the cross-compiler system.
  46.      Please note that you will not be able to compile the
  47.      compiler itself on a St with less that 2.5 M of memory.
  48.  
  49.     -make cross compiler by
  50.         make -f Makefile.minix
  51.     will make and install cpp, cc1  and gcc
  52.  
  53.     -clean out the directory by
  54.         make -f Makefile.minix clean
  55.     - go and make a cross-gas cross-ld and cross-as
  56.     - make the minix gcc libraries using the cross-compiler
  57.       system you made above.
  58.  
  59.     - to make minix atari st executables
  60.        - make and install cross compiler as above (or use your native
  61.         minix-gcc compiler)
  62.        - make by
  63.         make -f Makefile.cminix
  64.  
  65. Please note: *.c files in this directory are the already patched files
  66. for the gcc-src directory.
  67.  
  68. --
  69. bang:   {any internet host}!dsrgsun.ces.CWRU.edu!bammi    jwahar r. bammi
  70. domain: bammi@dsrgsun.ces.CWRU.edu
  71. GEnie:    J.Bammi
  72.