home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sun / admin / 10710 < prev    next >
Encoding:
Text File  |  1993-01-25  |  2.5 KB  |  59 lines

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