Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!jato!mars!kaleb From: kaleb@mars.jpl.nasa.gov (Kaleb Keithley) Newsgroups: comp.windows.x Subject: Re: SUN4 frustrations! (core dump....) Message-ID: <3612@jato.Jpl.Nasa.Gov> Date: 8 May 90 19:19:48 GMT References: <9005070401.AA10613@expo.lcs.mit.edu> <3322@auspex.auspex.com> Sender: news@jato.Jpl.Nasa.Gov Reply-To: kaleb@mars.UUCP (Kaleb Keithley) Organization: Jet Propulsion Laboratory, Pasadena, CA. Lines: 20 In article <3322@auspex.auspex.com> guy@auspex.auspex.com (Guy Harris) writes: >>1) use sun standard cc compiler with -O2 to get the maximum optimization out of >> it. > >Err, umm: > 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. I have compiled the entire R4 (mit tape) with -O4 on my Sun SS1; the only gotcha was MenuButton.c in the Athena widgets, which broke the optimizer and had to be "hand" compiled at -O2. I have over a month now, and nothing has broken yet. kaleb@mars.jpl.nasa.gov Jet Propeller Labs Kaleb Keithley spelling and grammar flames > /dev/null