home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.admin
- Path: sparky!uunet!mcsun!sun4nl!fwi.uva.nl!casper
- From: casper@fwi.uva.nl (Casper H.S. Dik)
- Subject: Re: Help on building X11R5 under Solaris 2.1
- Message-ID: <1993Jan25.131627.9535@fwi.uva.nl>
- Sender: news@fwi.uva.nl
- Nntp-Posting-Host: adam.fwi.uva.nl
- Organization: FWI, University of Amsterdam
- References: <MCHIARIN.93Jan25034654@jade.tufts.edu>
- Distribution: inet
- Date: Mon, 25 Jan 1993 13:16:27 GMT
- Lines: 45
-
- mchiarin@jade.tufts.edu (Marc Chiarini) writes:
-
- >I'm trying to build the core X11 Release 5 distribution on a new Sparc 10
- >with Solaris 2.1/SunOS 5.1 as I'm told. I'm just having a hard time of
- >it especially because I don't really know much about System V. Has anyone
- >been successful in building the release under Solaris 2.1? I would be
- >grateful if they could indicate what types of changes need to be made to
- >the configuration files, etc. Also, I'm using the latest version of gcc.
- >Thank you.
-
- Yes. I've succcesfully done this.
-
- My basis was the patches on export, jpl-multiscreen, and a sun.cf file
- posted a while back and patches made by John DiMarco for JPL-multiscreen.
- Since my version now compiles and runs with cc and gcc 2sx. on both SunOS 4.x
- and SunOS 5.1. In both versions (4.x and 5.x) it is possible to link or
- run gcc compiled binaries with cc compiled libraries and vice versa.
-
- It has been tested on CG3 & GX. Note that the patch will require
- at least gcc 2.3.3, as gcc 2.3.2 and earlier didn't generate proper
- PIC code for Solaris 2.1. Any Gcc 2.x will work for 4.x
-
- Other differences of this patch with the other Solaris 2.1 X patches:
-
- - builds completely with Gcc 2.x on SunOS 4.x and SunOS 5.x
- - still works on SunOS 4.x
- - doesn't use /usr/ucblib, /usr/ucbinclude or /usr/ucb.
- - automatically sets RUN_PATH in executables, if UsrLibDir != /usr/lib
- or AlternateUsrLibDir is defined as YES
- - xterm -C that works, xterm that uses utmpx
- - xload that uses libkvm and libelf
- - no ``-z nodefs'' set when linking: you can be sure that everything is
- defined if you get an executable.
- - defines SYSV and SVR4
- By defining SYSV and SVR4 both, a lot of the code that is
- #ifdef'ed SYSV is compiled in automatically.
- - libraries compatible between gcc and cc by linking -lgcc with
- two of the shared libraries. (With one exception: programs that
- define variadic functions and are compiled with gcc, linked with
- libs compiled with gcc, but running with cc compiled libs will fail.)
- - will include xview3pl patches as a sepreate file.
-
- I'll make these patches available at export during this week.
-
- Casper
-