Xref: utzoo comp.windows.x:25580 gnu.gcc:1879 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!mcsun!ukc!axion!edc!sda From: sda@edc.UUCP (Stephen Ayers) Newsgroups: comp.windows.x,gnu.gcc Subject: Compiling X11R4 with gcc on Sun-3 (4.0.3) Keywords: X Sun GNU GCC Message-ID: <1497@mango.edc.UUCP> Date: 10 Aug 90 13:23:51 GMT Reply-To: sda@edc.UUCP (Stephen Ayers) Organization: Atex European Development Centre, Livingston, Scotland Lines: 23 In order to get every drop of performance from our Sun-3's I would like to compile X11 with GNU gcc. It looks straight forward. Just change sun.cf & site.def, right? There must be more to it.. I defined HasGcc in both those files and run into a number of problems. It tries to build shared libraries using gcc. I forced shared libraries off and was able to build the server & client entirely with gcc. When I run the new server it is unable to locate any screens on my 3/60. (operation not supported on socket, ioctl inappropriate for device) Recompiling all of X with Sun's cc works fine. BTW, I have patches 1-14 installed. gcc is 1.37.1. I'm sure I'm not the first person to try this :-) Is there any magic I have missed? Thanks in advance! -- Stephen Ayers Atex European Development Centre, A Kodak Company sda@epps.kodak.com | {sun,uunet,kodak}!atexnet!sda | ..!uknet!edc!sda +44 506 41 6778