Path: utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: rainer@hibachi.colorado.edu (Rainer Malzbender) Newsgroups: comp.sys.sun Subject: Gcc, X11R4 and old Sun OS Keywords: Software Message-ID: <529@brchh104.bnr.ca> Date: 29 Nov 90 17:09:08 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 18 Approved: Sun-Spots@rice.edu X-Original-Date: Wed, 21 Nov 90 20:55:32 GMT X-Sun-Spots-Digest: Volume 9, Issue 375, message 16 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu I apologize for possibly asking previously answered questions. I'm trying to compile X11R4 on a Sun 3 that is still running Sun OS 3.2. There is a bug in our Sun cc compiler when casting unsigneds to doubles which prevents the compile from finishing (this must be a known bug, but it doesn't bother us too often). So I grabbed gcc and tried using that (version 1.37). Now I'm getting a lot of error messages that say something like "invalid constraint in an asm" (this is a paraphrase, I deleted the log file.) from gcc. The only things I changed in the X sun.cf were the os major and minor numbers and setting HasGcc to YES (and the SaberC thing, whatever that is). Is there a problem with using gcc with OS 3.2 ? Do I need to delve more deeply into setting up either the gcc or X configuration files ? If it matters, I set up gcc without bison or gas. Rainer Malzbender "Ben, where are the hickory sticks?" Dept. of Physics -T.P. U. of Colorado, Boulder rainer@hibachi.colorado.edu 128.138.240.246