Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!pt.cs.cmu.edu!frew.fac.cs.cmu.edu!cs.cmu.edu!dpm From: dpm@cs.cmu.edu (David Maynard) Newsgroups: comp.windows.x Subject: GCC for X11R4 clients Keywords: X11R4, GCC, -fwritable-strings Message-ID: <1990Mar20.191933.1792@cs.cmu.edu> Date: 20 Mar 90 19:19:33 GMT Sender: netnews@cs.cmu.edu (USENET News Group Software) Reply-To: dpm@cs.cmu.edu (David Maynard) Distribution: na Organization: Carnegie Mellon University, Pittsburgh, Pennsylvania Lines: 23 Has anyone generated a list of R4 client (and demo/example) programs that need to be compiled with the -fwritable-strings option of GCC. So far I've identified xterm and puzzle (which would occasionally dump core), but the other clients I've tested appear to work fine. I read in the (outdated) X11.README that came with GCC that twm might need writable strings, but it "seems" to work without them. I'm working with GCC 1.37.1 on a Sun-2 under SunOS 3.5 with MIT fixes 1-6. On the same subject...what is the "best" way to specify special compiler options for a particular client? My quick and dirty way was to specify an explicit "CC = gcc..." line in the appropriate Imakefiles. That obviously isn't the best way to specify things since it won't automatically pick up global changes I make to the compiler options. P.S. I'm impressed! The R4 "make World" only took ~19 hours on a 4 meg Sun-2/120. If I recall correctly, the R3 compile took closer to 25 hours. --- David P. Maynard (dpm@cs.cmu.edu) Dept. of Electrical and Computer Engineering Carnegie Mellon University, Pittsburgh, PA 15213 ---