Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.windows.x Subject: Re: SUN4 frustrations! (core dump....) Message-ID: <3322@auspex.auspex.com> Date: 8 May 90 18:11:55 GMT References: <9005070401.AA10613@expo.lcs.mit.edu> Organization: Auspex Systems, Santa Clara Lines: 18 >1) use sun standard cc compiler with -O2 to get the maximum optimization out of > it. Err, umm: 1) "-O" is equivalent to "-O2" in SunOS 4.x on a SPARC-based machine; 2) "the maximum optimization" is "-O4", although, to quote the manual page, "neither -O3 nor -O4 should be used when compiling either device drivers, or programs that modify external variables from within signal handlers;" I don't know if that'll break any X11 code or not. BTW, if you have a 68K-based Sun and are running 4.0[.x], it might be interesting to see what performance difference results from compiling with "-O2" ("-O" is equivalent to "-O2" in 4.1 on 68K-based machines); it worked when I tried it, but I didn't do any performance comparison.