0

not sure where to post this but the problem is that i cant seem to compiler a program in unix.

i am using unix:
SunOS unix2.its.albany.edu 5-10 Generic_142900-06 sun4u sparc SUNW, sun-Fire-V440

1-create file

emacs hello.cl(l = lower case L)

2.write program in "COOL"

    class Main
    {
        i : IO <- new IO;
        main:IO()
        {
            i.out_string("Helloe world\n");
        };
    };

3-complier program

coolc hello.cl                 (dont work)

4-run program

spim hello.s
2
Contributors
1
Reply
2
Views
4 Years
Discussion Span
Last Post by rubberman
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.