home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / windows / intervie / 3224 < prev    next >
Encoding:
Text File  |  1992-11-20  |  3.2 KB  |  108 lines

  1. Newsgroups: comp.windows.interviews
  2. Path: sparky!uunet!pipex!ibmpcug!iocgate!dfr
  3. From: dfr@ioc.co.uk (Doug Rabson)
  4. Subject: Re: Where are stream.h and osfcn.h
  5. Sender: news@ioc.co.uk
  6. Message-ID: <DFR.92Nov20110136@rhino.ioc.co.uk>
  7. In-Reply-To: barr@stein.u.washington.edu's message of 19 Nov 92 17:56:31 GMT
  8. Date: Fri, 20 Nov 1992 11:01:36 GMT
  9. Lines: 93
  10. References: <1992Nov19.125711.29515@ccsun7.csie.nctu.edu.tw>
  11.     <1992Nov19.175631.18715@u.washington.edu>
  12. Nntp-Posting-Host: rhino.ioc.co.uk
  13. Organization: Intelligent Office Company Ltd.
  14.  
  15. In article <1992Nov19.175631.18715@u.washington.edu> barr@stein.u.washington.edu (David Barr) writes:
  16. > jypai@csie.nctu.edu.tw (Pai Jin-Yuan) writes:
  17. > >I use find command in /usr and found
  18. > >/usr/include/sys/stream.h
  19. > >but didn't find osfcn.h.
  20. > Those two files are in $GCCDIR/lib/g++-include.  I got those errors
  21. > too.  Somehow you have to let makedepend know to look in those
  22. > directories.
  23.  
  24. I used the following local.def file to compile 3.1-beta4 using
  25. g++-2.3.1 on an rs6000 under AIX3.2.1:
  26.  
  27. --------------------snip snip--------------------
  28. #undef ExtraCCIncludes
  29. #define ExtraCCIncludes -I/usr/local/lib/g++-include
  30. #define TurnOnOptimizing YES
  31.  
  32. /*
  33.  * For now, just assume cfront 2.0.
  34.  * If you are using cfront 2.1 or cfront 3.0, then use -Dcplusplus_2_1.
  35.  */
  36. #undef LanguageCCDefines
  37. #define LanguageCCDefines -Dcplusplus_2_0
  38.  
  39. /*
  40.  * If you are using gcc/g++, then uncomment the include below.
  41.  */
  42. #include <InterViews/gcc.def>
  43. #undef ExtraCCLdFlags
  44.  
  45. /*
  46.  * Default customization of kits.
  47.  * Possible flags to define:
  48.  *    sgi_motif_kit (SMFKit), motif_kit (MFKit),
  49.  *    openlook_kit (OLKit), bw_kit (MonoKit)
  50.  */
  51. #ifndef KitFlags
  52. #define KitFlags \
  53. -Dmotif_kit \
  54. -Dsgi_motif_kit \
  55. -Dopenlook_kit \
  56. -Dbw_kit \
  57. -Ddefault_kit=SMFKit
  58. #endif
  59.  
  60. /*
  61.  * If you are using g++, define BuildRPCClasses to NO.
  62.  */
  63. #if defined(SGIArchitecture) || defined(SunArchitecture)
  64. #undef BuildRPCClasses
  65. #define BuildRPCClasses YES
  66. #endif
  67.  
  68. /*
  69.  * Delete this definition if your /tmp space is less than five megabytes.
  70.  */
  71. #undef HasLargeTmp
  72. #define HasLargeTmp YES
  73.  
  74. /*
  75.  * If you do not want to create a symbolic link called "/interviews"
  76.  * that points at /..../iv/installed, you should replace /interviews
  77.  * below with the name of the symbolic link you do want to use (say,
  78.  * /usr/local/interviews).  If you don't want to create a symbolic
  79.  * link at all, replace /interviews with the absolute pathname of
  80.  * /..../iv/installed so InterViews applications still can find the
  81.  * installed data files.
  82.  */
  83. #undef InstalledRoot
  84. #define InstalledRoot /interviews
  85.  
  86. /*
  87.  * If the X11 config files are not in /usr/lib/X11/config, the X11
  88.  * includes are not in /usr/include, or the X11 libraries are not in
  89.  * /lib, /usr/lib, or /usr/local/lib, then you should specify their
  90.  * actual locations here.
  91.  *
  92.  * If you have to set XConfigDir, don't forget to override XCONFIGDIR
  93.  * on the command line when saying "make World" for the first time.
  94.  */
  95. #undef XConfigDir
  96. #define XConfigDir /vol/X11R5/lib/X11/config
  97. #undef XIncDir
  98. #define XIncDir /vol/X11R5/include
  99. #undef XLibDir
  100. #define XLibDir /vol/X11R5/lib
  101. --------------------snip snip--------------------
  102. --
  103. Doug Rabson, IOC Ltd.    | Email:  dfr@ioc.co.uk
  104. Phone: +44 81 528 9864    |      drabson@cix.compulink.co.uk
  105. Fax:   +44 81 528 9878    |      
  106.