ngo@tammy.harvard.edu (Tom Ngo) (09/14/90)
Thanks to Vick Khera (khera@mcnc.org), I have successfully compiled X11R4 on a Convex running Convex Unix 7.1. Here are canned instructions: (0) Compile gcc 1.37.1 on your system, and make sure you run the "fixincludes" script to make proper system headers in the gcc-includes directory! (1) Unpack tape-1 in the distribution. (2) From Vick Khera's email below, apply two patches in mit/config and cut out mit/config/convex.cf. The two patches merely tell imake that there exists a machine called "convex". (3) In the directory "mit", "make -k World". Only xload should fail to compile. (4) pushd clients/xload cc -DNOSTDHDRS -O -I../../. -DOSMAJORVERSION=7 -DOSMINORVERSION=0 -c get_load.c make -k xload popd (5) make install [as root] =========================================================================== Return-Path: khera@mcnc.org Received: from harvard.harvard.edu by endor.harvard.edu; Thu, 30 Aug 90 17:43:18 EDT Received: by harvard.harvard.edu (5.54/a0.25) (for ngo@endor) id AA27354; Thu, 30 Aug 90 17:43:16 EDT Received: from pepe.mcnc.org by mcnc.mcnc.org (5.59/MCNC/6-11-90) id AA14443; Thu, 30 Aug 90 17:42:27 EDT Received: by pepe.mcnc.org (5.59/MCNC/6-11-90) id AA08789; Thu, 30 Aug 90 17:42:16 EDT Date: Thu, 30 Aug 90 17:42:16 EDT From: Vick Khera <khera@mcnc.org> Message-Id: <9008302142.AA08789@pepe.mcnc.org> To: ngo@harvard Subject: X11R4 on convex there's more to it than just a convex.cf file. you need to update a couple of other files. here are some patches to help you along. ---cut here--- *** /tmp/,RCSt1008692 Thu Aug 30 17:36:54 1990 --- Imake.tmpl Thu Aug 30 17:36:55 1990 *************** *** 42,47 **** --- 42,52 ---- * * 4. Create a .cf file with the name given by MacroFile. */ + #ifdef convex + #define MacroIncludeFile <convex.cf> + #define MacroFile convex.cf + #undef convex + #endif #ifdef ultrix #define MacroIncludeFile <ultrix.cf> *** /tmp/,RCSt1008742 Thu Aug 30 17:38:20 1990 --- imakemdep.h Wed Jun 13 15:40:35 1990 *************** *** 135,140 **** --- 135,143 ---- * in util/makedepend/main.c. */ struct symtab predefs[] = { + #ifdef convex + {"convex", "1"}, + #endif #ifdef apollo {"apollo", "1"}, #endif ---cut here--- and here is convex.cf. note that it is for ConvexOS 7.0 so be sure to update these numbers before you make World. ---cut here--- /* * SET VERSION NUMBERS BEFORE MAKING MAKEFILES */ #ifdef SYSV #define SystemV YES #endif #define OSName Convex UNIX #define OSMajorVersion 7 #define OSMinorVersion 0 #define BuildServer NO #define HasGcc YES #define HasVoidSignalReturn NO #define HasBsearch NO /**/# platform: $XConsortium: generic.cf,v 1.2 89/01/11 14:58:19 jim Exp $ /**/# operating system: OSName /**/# local: $Header: convex.cf,v 1.6 90/08/21 10:40:39 bin Exp $ /***************************************************************************** * Platform-specfic parameters * *****************************************************************************/ ---cut here--- send me e-mail if you have any problems. v. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vick Khera MCNC (919) 248-1970 ARPA: khera@mcnc.org P.O. Box 12889 UUCP: ..!mcnc!khera RTP, NC 27709 -- Tom Ngo ngo@harvard.harvard.edu 617/495-1768 lab number, leave message