home *** CD-ROM | disk | FTP | other *** search
- ***WARNING**
- ***WARNING**
- if you got gcc-1.37 source from prep.ai.mit.edu or ohio-state,
- then you must first apply two patches in patch1.137 and patch2.137: this
- patch is relevant to both atari and non-atari versions of the compiler.
- if you grabbed the gcc-1.37 source from dsrgsun, then these patches are already
- applied.
- if you got gcc-1.37.1 from prep or ohio-state, or you have already
- applied the gcc.diff-1.37-1.37.1 patch on prep, then you only need
- to apply patch2.137.
-
- --------------------
-
- This is the README file for the GNU native/cross compiler. Diffs are
- with respect to GCC V1.37.1
-
- -configuration:
- copy all the files from the gcc v1.37 distribution
- into a directory called SRC (i created symbolic links between
- the files).
- copy all the files from the gcc v1.37 distribution
- sub-directory config into SRC/config
- copy all the files in this directory into SRC.
- copy xm-atari.h and tm-atari.h into SRC/config
- cd to SRC
- Apply the diffs using larry walls patch program
- patch < gcc-137.diff
- make the following links in SRC
- config.h to config/xm-atari.h
- tm.h to config/tm-atari.h
- aux-output.c to config/out-m68k.c
- md to config/m68k.md
-
- edit Makefile.* to make sure the following
- are defined appro.:
- CROSSDIR -- the home directory of the cross dev. system
-
- edit gcc.c xm-atari.h & tm-atari.h and replace all
- instances of the string "/dsrg/bammi/cross-../..."
- with CROSSDIR/... (ie. the same string as CROSSDIR above
- plus whatever was there after /dsrg/bammi/cross-.../ ).
-
- -if you already have a native minix-gcc and want to use
- that to make new minix executables, skip the next few
- steps that make the cross-compiler system.
- Please note that you will not be able to compile the
- compiler itself on a St with less that 2.5 M of memory.
-
- -make cross compiler by
- make -f Makefile.minix
- will make and install cpp, cc1 and gcc
-
- -clean out the directory by
- make -f Makefile.minix clean
- - go and make a cross-gas cross-ld and cross-as
- - make the minix gcc libraries using the cross-compiler
- system you made above.
-
- - to make minix atari st executables
- - make and install cross compiler as above (or use your native
- minix-gcc compiler)
- - make by
- make -f Makefile.cminix
-
- Please note: *.c files in this directory are the already patched files
- for the gcc-src directory.
-
- --
- bang: {any internet host}!dsrgsun.ces.CWRU.edu!bammi jwahar r. bammi
- domain: bammi@dsrgsun.ces.CWRU.edu
- GEnie: J.Bammi
-