home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / oper_sys / mach / amiga / tools / gcc040pd.lha / README < prev    next >
Encoding:
Text File  |  1993-05-18  |  1.9 KB  |  37 lines

  1. This is a version of gas that understands 68030 & 68040 opcodes.  It is
  2. required to build a 68040 version of KludgeMach.
  3.  
  4. This is a "pre-alpha" release of 1.92.3 that a friend of mine located.  It
  5. probably has some bugs in it, so beware.  I have only used it for compiling
  6. KludgeMach and haven't had any problems doing that.  Also, this version
  7. does not have the base-relative options that Markus Wild has added to to
  8. the version of gas in his Amiga gcc port, so gas-1.92.3 will not work with
  9. the -resident option of gcc.  This executable has been compiled with the
  10. -resident option, so the executable can be made resident.
  11.  
  12. What I have done is rename the gcc:compilers/amiga/*/as to as.old and rename
  13. the 1.92.3 version to as.  If you have made as resident, you will need to 
  14. remove it and make it resident again.  If you need to compile something using
  15. the -resident option, or have some problems with the 1.92.3 version of gas,
  16. you can rename the 1.92.3 version to as-1.92.3 and rename the as.old to as.
  17. Making a link to the appropiate version could also be done and might be easier.
  18.  
  19. In the mk:Makefile, the -mc68020 option needs to be changed to -m68040.  The
  20. mk:motorola/m68k/mmu.h file need to define M68040 to enable the 68040 mmu
  21. code.  Currently the pmap.c file only supports one or the other mmu.  In
  22. mk:amiga/locore.s there is some 68030-specific instructions that need to
  23. be commented out, since gas won't accept them when compiling for the 68040.
  24.  
  25. Also included in this archive is a modified specs file for gcc to work with
  26. the -m68030 and -m68040 options.  I've also included as.info* files that
  27. can be included in the gcc:info directory.
  28.  
  29. There is a newer release of gas, 2.0, available, but I have not been able to
  30. get it working properly yet.
  31.  
  32. ---
  33. Michael L. Hitch            INTERNET:  osymh@montana.edu
  34. Computer Consultant            BITNET:  OSYMH@MTSUNIX1.BITNET
  35. Office of Systems and Computing Services
  36. Montana State University    Bozeman, MT    USA
  37.