home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / gnu / g / help / 1229 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  2.2 KB

  1. Xref: sparky gnu.g++.help:1229 gnu.gcc.help:2119
  2. Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!purdue!mentor.cc.purdue.edu!becker
  3. From: becker@mentor.cc.purdue.edu (Greg Becker)
  4. Newsgroups: gnu.g++.help,gnu.gcc.help
  5. Subject: g++-2.2 - make check fails in iostream subdir
  6. Message-ID: <BuKvEt.FKB@mentor.cc.purdue.edu>
  7. Date: 14 Sep 92 17:04:04 GMT
  8. Followup-To: gnu.g++.help
  9. Organization: PUCC UNIX-Group
  10. Lines: 50
  11.  
  12.  
  13. I'm trying to build libg++-2.2 on a SPARC Server 690MP.  Of course, I'm
  14. experiencing the same problem on a SPARC IPC.  It seems the  library
  15. builds just fine but will not pass `make check.'  In particular, it fails
  16. with iostream/test/tFile.  The details follow, but the strange thing is
  17. that tFile executes perfectly when output is not redirected.
  18.  
  19. I'm using gcc-2.2.2, and configured libg++2.2 as `sparc.'  The only
  20. real success I've had in getting `make check' to pass is by setting IO_DIR to
  21. nothing, and removing gperf from SUBDIRS and ALL (but that's after the
  22. complete build.)
  23.  
  24. At this point, I can't be certain it is not a gcc installation problem,
  25. although gcc built and installed without error (through stage 3).  I've tried
  26. gcc configured with and without gas/gld.
  27.  
  28. Does anyone have any idea what might be wrong?
  29.  
  30. Thanks in advance!
  31.  
  32. Greg
  33.  
  34.  
  35.  
  36. cd genclass ; make check ::: AR=ar  AR_FLAGS=qc  CC=gcc  CFLAGS=  RANLIB=ranlib  LOADLIBES=  LDFLAGS=  MAKEINFO=makeinfo  XTRAFLAGS=
  37. cd src ; make check ::: AR=ar  AR_FLAGS=qc  CC=gcc  CFLAGS=  RANLIB=ranlib  LOADLIBES=  LDFLAGS=  MAKEINFO=makeinfo  XTRAFLAGS=
  38. cd iostream ; make check ::: AR=ar  AR_FLAGS=qc  CC=gcc  CFLAGS=  RANLIB=ranlib  LOADLIBES=  LDFLAGS=  MAKEINFO=makeinfo  XTRAFLAGS=
  39. cd stdio; make check ...
  40. cd test; make check ...
  41. ./tFile < ./tFile.inp > tFile.out 2>&1
  42. diff -c tFile.out ./tFile.exp
  43. *** tFile.out    Tue Sep  8 21:54:36 1992
  44. --- ./tFile.exp    Fri Apr 17 18:49:17 1992
  45. ***************
  46. *** 36,38 ****
  47. --- 36,49 ----
  48.   using it to create istrstream...
  49.   with contents:
  50.   This is a string-based stream.
  51. + With two lines.
  52. + Making filebuf streams fout and fin...contents of file:
  53. + Thisfilehasonelinetestingoutputstreams.
  54. + Final names & states:
  55. + cin:      (stdin)    0
  56. + cout:     (stdout)    0
  57. + cerr:     (stderr)    0
  58. + end of test.
  59.