CS654 Frequently Asked Questions

AFS

Q: When I try to log onto miller or weise using the login and password you gave, it doesn't work.

A: The slip of paper gave the Kerberos password, not a login password. You need to log on to the machine using some existing account. If you don't have one, you can request one from the college or get a class account from a TA or instructor.

SPIM

Q: When I run spim, I get the result:

% coolc gcd.cl
% spim -file gcd.s
SPIM Version 6.5 of January 4, 2003
Copyright 1990-2003 by James R. Larus (larus@cs.wisc.edu).
All Rights Reserved.
See the file README for a full copyright notice.
Loaded: /usr/local/spim-6.5/bin/trap.handler
The following symbols are undefined:
Object.copy
Array.resize
Object.type_name
Boolean.equals
Array.set_item
_dispatch_abort
Object.Object
_NoGC_Collect
String.concat
IO.in_int
IO.out_int
String.equals
Array.Array
Object.abort
String.substr
Array.get_item
IO.out_string
Integer.equals
IO.in_string
_NoGC_Init
How can I avoid this problem?

A: You are running the default installation of SPIM. You need to either run our modified version of SPIM in /afs/cs.uwm.edu/users/classes/cs654/bin/ or else use the -trap_file flag as in:

spim -trap_file /afs/cs.uwm.edu/users/classes/cs654/lib/trap.handler -file gcl.s
Symbolic links and/or aliases can make this shorter.


boyland@cs.uwm.edu