Difference between "Look at" and "Run" in !Boot.Boot
Egon Rath (2225) 54 posts |
Good evening, as far as i understand – please correct me if i’m wrong – the difference is: - “Look at” runs the !Boot Obey of the Application I ask because i currently set up GCC including UnixLib and OSLib and get the following error message when setting up UnixLib during boot with “Look at”: <UnixLib$Dir>.!Sprites not found Using the “Run” method, it works. But as the !Boot and !Run almost look identical, i wonder if my assumptions about “Look at” and “Run” are wrong in the first place. Yours, |
Dave Higton (1515) 3526 posts |
You are correct, “Look at” runs the !Boot Obey of the Application, "Run” runs the !Run Obey of the Application. |
David J. Ruck (33) 1635 posts |
“Run” runs the Application’s !Boot then it’s !Run, to simulate what happens when run from a filer window. This is because !Boot may set up some stuff that !Run doesn’t. |
Egon Rath (2225) 54 posts |
Thank you very much! Anyone has an idea, why UnixLib fails to initialize during boot when run from “Look at”, but not from “Run”? !Boot:
!Run:
To me they both look almost the same from a logical point of view, with the exception of the conditions in the first one. |
David Pitt (3386) 1248 posts |
With It is not at all obvious what may be going wrong here. |
Chris Mahoney (1684) 2165 posts |
The only thing I can think of is that something else is setting UnixLib$Dir to a directory that doesn’t contain !Sprites. Perhaps try an Echo <UnixLib$Dir> when the error occurs and see where it’s set to. |
David Pitt (3386) 1248 posts |
The UnixLib on PackMan is from long long ago, all it contains is SharedUnixLibrary 1.10 (10 Apr 2006). The up to date SharedUnixLibrary 1.16 is in PackMan under that name. (It looks to be incorrectly wrapped, it is not in a dummy !System directory.) GCC on PackMan does contain, a correctly wrapped in a dummy !System, SharedUnixLibrary 1.16. Even so UnixLib should not break as described. |