From: khaos@borris.eece.unm.edu
Newsgroups: comp.soft-sys.khoros
Subject: Compile FAQ  - snafu
Date: 28 Sep 92 16:11:01 GMT
Article-I.D.: pprg.40653


	Hello,

	Fixing errors in the new compile FAQ right away --

	This segment should be appended to the end of A3:


	- ------------------------Diffs----------------------------------------

*** hp.cf.orig  Fri Apr 10 10:44:33 1992
- --- hp.cf     Fri Apr 10 10:44:33 1992
***************
*** 7,15 ****
   */


! #define OSName                 HP-UX 8.05
  #define OSMajorVersion         8
! #define OSMinorVersion         5

  #define SystemV                YES

- --- 7,15 ----
   */


! #define OSName                 HP-UX 8.07
  #define OSMajorVersion         8
! #define OSMinorVersion         7

  #define SystemV                YES

***************
*** 76,87 ****
  #define InstallCmd $(SCRIPTSRC)/bsdinst.sh
  #define BaseName /bin/basename

  #ifdef hp9000s800
! #   define StandardDefines        -DSYSV
  #   define OptimizedCDebugFlags   +O1
  #else
  #  if OSMajorVersion == 8
! #      define StandardDefines        -DSYSV
  #  else
  #       define StandardDefines        -Wc,-Nd4000,-Ns4300,-Ne700,-Np300 -DSYSV
 -D_BSD -Drindex=strrchr -Dindex=strchr
  #  endif
- --- 76,88 ----
  #define InstallCmd $(SCRIPTSRC)/bsdinst.sh
  #define BaseName /bin/basename

+ #define InstLibFlags -m 0555
  #ifdef hp9000s800
! #   define StandardDefines        -s -Wp,-H512000 -DSYSV
  #   define OptimizedCDebugFlags   +O1
  #else
  #  if OSMajorVersion == 8

! #  define StandardDefines         -s -DSYSV
  #  else
  #       define StandardDefines        -Wc,-Nd4000,-Ns4300,-Ne700,-Np300 -DSYSV
 -D_BSD -Drindex=strrchr -Dindex=strchr
  #  endif
***************
*** 89,98 ****

  #if OSMajorVersion == 8
  #  if defined (hp9000s300) || defined (hp9000s400)
! #    define SysLibs -lBSD -lmalloc -lm -ll
  #    define ForSysLibs -lFext -lF77 -lI77
  #  else
! #    define SysLibs -lBSD -lmalloc -lm -ll
  #    define ForSysLibs -lcl -lfsys
  #  endif
  #else
- --- 90,99 ----

  #if OSMajorVersion == 8
  #  if defined (hp9000s300) || defined (hp9000s400)
! #    define SysLibs -lBSD -lmalloc -lm -ll -lIO77
  #    define ForSysLibs -lFext -lF77 -lI77
  #  else
! #    define SysLibs -lBSD -lmalloc -lm -ll -lcl
  #    define ForSysLibs -lcl -lfsys
  #  endif
  #else
***************
*** 100,106 ****
- --- 101,114 ----
  #   define ForSysLibs -lFext -lF77 -lI77
  #endif

+ #define XLibDir  /usr/local/x11r4/lib.s300
+ #define XIncludes -I/usr/local/x11r4
  /*
+ #define XLibDir  /usr/lib/X11R5
+ #define XIncludes -I/usr/include/X11R5
+ */
+
+ /*
   * The Shared libaries for HP may not be complete.  We do not
   * have an HP. This Lib/hpLib.rules is a guess at how hp
   * shared libs should be made. Please mail and changes
***************
*** 108,114 ****
   * update for the next version.
   */

! #define HasSharedLibraries NO

  #if HasSharedLibraries
  #  define SharedLibRev 1.1                /* Use Khoros revision number */
- --- 116,122 ----
   * update for the next version.
   */

! #define HasSharedLibraries YES

  #if HasSharedLibraries
  #  define SharedLibRev 1.1                /* Use Khoros revision number */
*** Lib/hpLib.rules.or  Mon Apr  6 13:38:05 1992
- --- Lib/hpLib.rules   Mon Apr  6 13:38:05 1992
***************
*** 73,81 ****
                                                                        @@\
  .f.o:                                                                 @@\
        $(RM) $@ shared/$@                                              @@\
!       $(FC) -c $(SHAREDCODEDEF) $(SHLIBDEF) $(FLIBFLAGS) $*.f         @@\
        $(MV) $*.o shared/$*.o                                          @@\
!       $(FC) -c $(SHLIBDEF) $(FLIBFLAGS) $*.f                          @@\
                                                                          @@\
  clean::
@@\
        -@if [ -d shared ]; then echo " $(RM) shared/?*.o"; \           @@\
- --- 73,81 ----
                                                                        @@\
  .f.o:                                                                 @@\
        $(RM) $@ shared/$@                                              @@\
!       $(FC) -c $(FLIBFLAGS) $*.f              @@\
        $(MV) $*.o shared/$*.o                                          @@\
!       $(FC) -c $(FLIBFLAGS) $*.f                              @@\
                                                                          @@\
  clean::
@@\
        -@if [ -d shared ]; then echo " $(RM) shared/?*.o"; \           @@\
Newsgroups: comp.soft-sys.khoros