home *** CD-ROM | disk | FTP | other *** search
/ Peanuts NeXT Software Archives / Peanuts-Update.iso / CDROM / Contents / READMEs / Peanuts-2 / X11 / clients / graphics / xview.3.2.README < prev    next >
Encoding:
Text File  |  1996-11-09  |  3.1 KB  |  80 lines

  1. This is a port of the XView 3.2 library for my computer (an Intel based
  2. computer running NeXT v3.3). On this machine, I have Cub'X installed. I
  3. could not find a previous port of XView for an Intel based machine so I
  4. reckon this will be useful to some people out there.
  5.  
  6. I compiled the stuff using the posix library. In many areas, I had to
  7. change the code because they assumed that sometimes I was using posix and
  8. sometimes I was not. In particular, all the WIF... calls assumed a bsd
  9. implementation. My modification were only made for Intel processors
  10. running NeXT. They might also be valid to other processors running NeXT
  11. (In fact, I think so but I am not sure) so if you are not running NeXT
  12. onto an Intel processors, you may have to modify the code. (Just do a
  13. search in the source files for the string "defined(NeXT) && defined(i386)"
  14.  
  15. My posix library is a bit weird and when I use it, I have to link the
  16. executables that way:
  17.  
  18.     gcc -o ..... -lgcc -lsys_s -lgcc -lposix
  19.  
  20. In other words, I include the posix library at the very latest otherwise
  21. all the executable generated a floating point exception when being runned.
  22.  
  23. My compiler is gcc 2.7.2 but I reckon it should compiled fine with cc
  24. (gcc 2.5.8).
  25.  
  26. The destination directory is:
  27.  
  28.     /usr/openwin/xview
  29.  
  30. If you to change it, just edit the file xview3.2/config/XView.cf. You may
  31. have to modify a few more things in this file. All the options are well
  32. explained. After having modified this file, do not forget to do a
  33.  
  34.     % make Makefiles
  35.  
  36. from the top directory.
  37.  
  38. If you use the same configuration as mine and if you have picked up the
  39. binary archive, what you just need to do is:
  40.  
  41.     % make install
  42.  
  43. If you are using a different processors or if you're configuration needs
  44. to recompile the whole stuff or if you did not pick-up the binary archive,
  45. you will need to do:
  46.  
  47.     % make World
  48.     % make install
  49.  
  50. Once all that is done, you will need to install the different clients.
  51. Once again, if your configuration is similar to mine and if you have
  52. picked up the binary archive, what you only need to do is:
  53.  
  54.     % cd clients ; make install
  55.  
  56. Otherwise you will have to redo the whole stuff:
  57.  
  58.     % make Clients
  59.  
  60. I do not recommend that you compile the contrib as it takes nearly 1.5meg
  61. per program (I did not manage to produce shared library. Does anoybody out
  62. there knows how to do so ?), but if you still want to do so, the procedure
  63. is similar as the one above.
  64.  
  65. I have a few problems with the use of cmdtool. The window get suspended as
  66. soon as it is launched. The only work around I have found is to launch it
  67. that way:
  68.  
  69.     % cmdtool rlogin -l `whoami` `hostname`
  70.  
  71. Stephane.
  72.  
  73. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  74. |           Stephane Etienne              |        University of Glasgow        |
  75. |      phone: +44 41 330 6040             |   Department of Computing Science   |
  76. |       Fax: +44 41 330 4913              |        8-17 Lilybank Gardens        |
  77. |     E-mail: stephane@dcs.gla.ac.uk      |           Glasgow G12 8QQ           |
  78. |URL: http://mousa.dcs.gla.ac.uk/~stephane|            Scotland, UK             |
  79. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  80.