Path: utzoo!attcan!uunet!husc6!rutgers!ucsd!ucbvax!GARNET.BERKELEY.EDU!rusty From: rusty@GARNET.BERKELEY.EDU Newsgroups: comp.windows.x Subject: purdue speedups and gcc on ultrix Message-ID: <8812201952.AA06178@garnet.berkeley.edu> Date: 20 Dec 88 19:52:23 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: Computer Center, UC Berkeley Lines: 26 With Ultrix 2.2 I couldn't get a working qdss server using gcc 1.31. When starting the server would complain about timing out loading the color map. Has anybody gotten it to work? Also, for people playing with the Purdue speedups; I asked Gene Spafford what flags he uses with gcc and he recommended -finline-functions -fstrength-reduce -fcombine-regs -fomit-frame-pointer -m68881 In general, when compiling any of the x11 stuff you should use the -traditional and -fwritable-strings flags. In my site.def file I have #define OptimizedCDebugFlags -O -traditional -fwritable-strings and then in the Sun.macros file I have #define ServerGCCDefines -finline-functions -fstrength-reduce -fcombine-regs -fomit-frame-pointer -m68881 #define ServerDefines SunWindowsDefines ServerGCCDefines -DPURDUE (Ignoring the SunOSPlatform and OSMajorVersion stuff around ServerDefines.)