don@haigha.ARPA (05/11/85)
From: don@haigha.ARPA (Don Hopkins) I haven't been able to get it to compile. Running make in the src directory outputs: cc -O -Demacs -DDisplayDebug -c dispnew.c "dispnew.c", line 457: compiler error: expression causes compiler loop: try simplifying *** Error code 1 Stop. The offending code goes: set_window_height (XWINDOW (minibuf_window)->prev, newlength - 1); I made a local (non register) variable to hold XWINDOW (minibuf_window), and changed the code to use it. That line compiles, but there are many, many more lines that need to be fixed in the same way. I spent several hours going through and fixing these... It also bombs on some of the other Xxxxxx() macros. They're all defined as #define Xxxxxx(a) ((struct xxxxx *) (a).u.val) From the information that I have been able to gather, the reason that these don't work has to do with a C compiler bug that generates the wrong code for register pointers to bit fields in structures. There are several lines like #ifndef SUN register #endif SUN struct window *w = XWINDOW (selected_window); #ifndef SUN in there already. Evidently, there are a lot more needed. I have been told that Gnumacs compiles on Suns. Does this mean the compiler I am using is an older, broken version? I'm running Sun release 1.3 software. -Don
rusty@sdcarl.UUCP (rusty c. wright) (05/12/85)
i just compiled the latest version (15.34) on our suns late last week and it compiled and runs without a problem. we are running 1.3 of sun software too. -- rusty c. wright {ucbvax,ihnp4,akgua,hplabs,sdcsvax}!sdcarl!rusty
wunder@wdl1.UUCP (05/16/85)
We have been unable to get GNU Emacs up on Sun 1.3, though it does compile fine (version 15.23). "temacs" works fine, "xemacs" loops somewhere. We have reports that it works on Sun 1.4, so we haven't spent any effort on debugging it. walter underwood Ford Aerospace, soon to be at H-P