soder@nmpcad.se (Hakan Soderstrom) (05/04/90)
I have run Icon 7.5 successfully on a Sun386i for a long time. But without co-expressions. I recently fetched Icon 8.0. There is a configuration called "sun386i" in the distribution. I copied "rswitch.c" from the "i386_sysv" configuration and ended up with the following "define.h": #define SysTime <sys/time.h> #define GetHost #define MaxHdr 5000 #define UNIX 1 No other modifications to the "sun386i" configuration. My knowledge of assembler and co-expression implementation is identical to zero, but this installation passed the co-expression tests and seems to work fine. Well, there is one Sun386i-specific glitch. (It was there in 7.5 too.) Icon programs generate a random (?) return code, except "stop" that reliably returns '1'. Not even "exit(0)" helps. I've noticed that C programs that just flow out of "main" also return "random" codes. Can this be the problem in "iconx"? I can't easily find out. Anyway, a C program must end by executing "exit" to be portable. -- ---------------------------------------------------- Hakan Soderstrom Phone: +46 (8) 752 1138 NMP-CAD Fax: +46 (8) 750 8056 P.O. Box 1193 E-mail: soder@nmpcad.se S-164 22 Kista, Sweden