|
| !Run file for !lcc
|

If "<UnixFS$sfix>" = "" Then 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"
If "<LCCbin$Path>" = "" Then Set UnixFS$sfix "<UnixFS$sfix>:q"

IconSprites <Obey$Dir>.!Sprites
Set LCC$Dir <Obey$Dir>
If "<LCCbin$Path>" = "" Then Set Run$Path <Run$Path>,LCCbin:
Set LCCbin$Path <LCC$Dir>.bin.
Set LCC$Path <LCC$Dir>.lcc.

|
| Assume we're running with UnixLibQ
|

| If "<UnixLib$Dir>" = "" Then Error Can't find UnixLib libraries.

| Set the return code limit. Unixlib encodes information within this range
Set Sys$RCLimit 65536

| Place to store temporary files
If "<UnixFS$/tmp>" = "" Then Set UnixFS$/tmp <Wimp$ScrapDir>


|
| We need some sort of DDEUtils
|

RMEnsure DDEUtils 0.02 IfThere System:Modules.DDEUtils Then RMLoad System:Modules.DDEUtils
RMEnsure DDEUtils 0.01 %Obey -c <GCC$Dir>.support.DDEUtilsCy.InitDDECy
RMEnsure DDEUtils 0.01 RMRun <GCC$Dir>.support.DDEUtilsCy.DDEUtilsCy

RMEnsure UtilityModule 3.10 Obey
| Details specific to RISC OS 3.10 and above
RMEnsure UtilityModule 3.70 RMEnsure CallASWI 0.01 RMLoad System:Modules.CallASWI

|
| I find this useful
|

If "<UnixLib$Dir>" <> "" Then Obey <UnixLib$Dir>.!Run
