Path: utzoo!utgpu!watserv1!watmath!att!pacbell!pacbell.com!ucsd!swrinde!zaphod.mps.ohio-state.edu!samsung!cs.utexas.edu!glenn From: glenn@cs.utexas.edu (Glenn G. Lai) Newsgroups: comp.windows.x Subject: Re: X11R4 & RS6000 (again) Message-ID: <890@dimebox.cs.utexas.edu> Date: 31 Aug 90 15:41:48 GMT References: <9008301739.AA14217@hydrogen.chem.utah.edu> Organization: U. Texas CS Dept., Austin, Texas Lines: 27 rusho@hydrogen.chem.utah.edu * wrote: * I have successfully transferred the X11R4 source code to the RISC *Sys. 6000, but building it for the RS6000 has become a pain. Has anyone *successfully built X11R4 on a RS6000 under AIX v3.1? I have successfully *created a bunch of Makefiles, but during a make Makefiles, I get errors *depending on which files it is trying to make. I haven't built an R4 server for the RS/6000, but I've built all of the libraries for use with a beta release of `octtools 4.0' from Berkeley. I used `xlc' instead of `cc' to get rid of some problems, but since `xlc' complained bitterly about things like incompatible types (e.g., int i; unsigned j; i = j; is rejected), I had to put in lots of casts. The R4 source uses Booleans for bit fields, which is frowned upon by ANSI C (since R4's Boolean is actually char) and rejected by `xlc'; the solution: get rid of the bit fields. The only (but don't hold me to this) other change I had to make was to redefine NULL as 0; NULL is (void *) in ANSI C, and caused lots of incompatible-type problems for `xlc'. Glenn