marbru@auto-trol.UUCP (Martin Brunecky) (10/19/89)
In article <8930@vicorp.UUCP> dale@vicorp.UUCP (Dale Nielsen) writes: >We recently received a copy of Motif 1.0 which I am trying to get running >on a Sparcstation. I only recently started reading this group, so forgive >me if this topic has already been beaten to death. > We are running Motif on Sparcstations and SUN 4 servers, without almost any glitch. However, there are two showstoppers: 1) (the one of yours). The Xt modules TmParse.c and TmState.c must be compiled without any optimization. Old experience, the same applies to any MIT Xt Intrinsics since R2. We suspect Sun 4 optimizer bug. 2) The next one that will show up. In the Xm module ResInd.c, line 395, macro XmIsManager(widget) is called with widget class pointer insted of widget instance. While this works on non-aligning machines like VAX and some others ( the class structure happens to have a NULL in right place ), on SPARC machines you get the correct result - buss error. Just fix the code to pass widget pointer instead of class. [ Now I am probably in big troubles ... did I post a piece of Copyrighted Motif code or not ? ] There are probably some more subtle errors, but we haven't seen any so far. The ones above were show-stoppers, without the fix nothing works. By the way, THANX to Motif guys for job well done. Though we don't like some of their design decisions (they'd say the same about our widgets), they did an excellent job. Naturally, there are (and must be) areas to improve, but as a starting point, Motif 1.0 is WELL ABOVE my expectations. -- ############################################################################### Martin Brunecky, Auto-trol Technology Corporation, 12500 North Washington Street, Denver, CO-80241-2404 (303) 252-2499 ncar!ico!auto-trol!marbru