Scheme->C on SGI 4D series
Mike McDonald
mac at trantor.harris-atd.com
Tue Apr 2 08:18:46 AEST 1991
In article <1991Mar27.061422.28020 at leland.Stanford.EDU>, ramani at CS.Stanford.EDU (Ramani Pichumani) writes:
|>
|>
|> Has anyone gotten Scheme->C to work on a Silicon Graphics 4D series
|> machine? I managed to get the scrt source to compile and link for a
|> MIPS target with no errors or warnings (after a few very minor
|> modifications to some #include paths). However, when I run the
|> executable "sci", it exits with the following error message without
|> providing the usual greeting and prompt:
|>
|> "***** inside ERROR" "WRITE-CHAR" "Argument is not an OUTPUT-PORT: ~s" 1001509b
|>
|> Not being familiar with LISP implementation code, I didn't want to
|> even think about tackling the problem before finding out if someone
|> hasn't already solved it. I've gotten Scheme->C to work on a SunOS
|> 4.0.3 platform but I can't get it to run on a IRIX 3.3 platform (I'm
|> using the 28sept... release with the MCC patches).
|>
|> Thanks,
|> Ramani Pichumani
|>
|>
|>
|> Ramani Pichumani Tel: (415) 723-2902 or 723-2437
|> Department of Computer Science Fax: (415) 725-7411
|> Margaret Jacks Hall, Room 308 email: ramani at patience.stanford.edu
|> Stanford, CA 94305 USA uunet!patience.stanford.edu!ramani
This is a byte ordering problem. (I had the same result on a MIPS M-1000!) In the file scrt/objects.h, you need to #define BIG_ENDIAN.
Mike McDonald
mac at trantor.harris-atd.com
(407) 727-5060
Advanced Technology Dept.
Harris Corp.
M.S. 3A-1912
P.O. Box 37
Melbourne, Florida
32902
More information about the Comp.sys.sgi
mailing list