home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / f / fortran / GCCmain / !gcc / !Run < prev    next >
Encoding:
Text File  |  1996-11-25  |  2.1 KB  |  63 lines

  1. | !Run file for the GNU compilers
  2.  
  3. Set GCC$Dir <Obey$Dir>
  4. if "<GCCbin$Path>" = "" then Set Run$Path <Run$Path>,GCCbin:
  5. Set GCCbin$Path <GCC$Dir>.bin.
  6. Set GCC$Path <GCC$Dir>.gcc.
  7. Set GPP$Path <GCC$Dir>.gpp.
  8.  
  9. | Set the return code limit. Unixlib encodes information within this range
  10. Set Sys$RCLimit 65536
  11.  
  12. | Place to store temporary files
  13. if "<UnixFS$/tmp>" = "" then Set UnixFS$/tmp <Wimp$ScrapDir>
  14.  
  15. | Our preferred linker. This will be searched for through the standard search path
  16. | Acorn's link program is an alternative
  17. Set GCC$Linker "drlink"
  18.  
  19. | Ensure correct filename translation for a variety of prefixes
  20. Set UnixFS$sfix "f:for:F:fpp:cc:cxx:cpp:c++:C:ii:rpo:ads:adb:ada:c:m:h:i:s:S:ali:adc:xrb:xrs:l:o:p:pas:ph:gpi:y"
  21.  
  22. | Set search paths for the Ada run time library files
  23. Set GNATada$Path <GCC$Dir>.adainc.
  24. Set GNATInc$Path gnatada:1.,gnatada:2.,gnatada:3.,gnatada:4.,gnatada:5.,gnatada:6.,gnatada:7.
  25. Set GNATlib$Path gcc:adalib.1.,gcc:adalib.2.,gcc:adalib.3.,gcc:adalib.4.,gcc:adalib.5.,gcc:adalib.6.,gcc:adalib.7.
  26.  
  27. | Set search path for gnatbl
  28. SetMacro path <Run$Path>
  29.  
  30. | Set aliases for controlling UnixLib heap for dynamic areas
  31. | See the documentation about UnixLib and dynamic areas.
  32.  
  33. | Uncomment these if you have a RiscPC and wish to use dynamic areas
  34. set gcc_heap ""
  35.  
  36. | For GNAT Ada
  37. |set gnatbind_heap ""
  38. |set gnatbl_heap ""
  39. |set gnatchop_heap ""
  40. |set gnatf_heap ""
  41. |set gnatmake_heap ""
  42.  
  43. | For Fortran 77
  44. |set g77_heap ""
  45.  
  46. | For C++
  47. |set g++_heap ""
  48.  
  49. | For Pascal
  50. |set gpc_heap ""
  51.  
  52. | Used for extended command lines
  53. | Initially, we look in !System for the DDEUtils module supplied by Acorn
  54. | If not present, then we will load the DDEUtilsCy version.
  55. RMEnsure DDEUtils 0.02 run <GCC$Dir>.support.DDEUtilsCy.IFExist System:Modules.DDEUtils Then RMLoad System:Modules.DDEUtils
  56. RMEnsure DDEUtils 0.01 %Obey -c <GCC$Dir>.support.DDEUtilsCy.InitDDECy
  57. RMEnsure DDEUtils 0.01 RMRun <GCC$Dir>.support.DDEUtilsCy.DDEUtilsCy
  58.  
  59. RMEnsure UtilityModule 3.10 Obey
  60. | Details specific to RISC OS 3.10 and above
  61. RMEnsure UtilityModule 3.70 RMEnsure CallASWI 0.01 RMLoad System:Modules.CallASWI
  62. dir <Obey$Dir>.Files
  63. filer_opendir <Obey$Dir>.files