home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 623a.lha / libg++_v2.0-920319 / README.AMIGA < prev    next >
Text File  |  1992-03-21  |  4KB  |  146 lines

  1. This is a binary only distribution, but there were hardly any changes anyway.
  2. You can get the full distribution for example from prep.ai.mit.edu.
  3.  
  4. I'm including the diffs for the src/ directory below, you get all the header
  5. files needed with my ANSI C library. The following files from the original
  6. distribution were not needed and are thus not included:
  7.  
  8. obsolute-g++-include:
  9.  ctype.h dir.h dirent.h errno.h fcntl.h grp.h math-68881.h memory.h
  10.  netdb.h pwd.h setjmp.h signal.h stdarg.h stddef.h stdio.h stdlib.h
  11.  time.h unistd.h
  12.  
  13. obsolute-g++-include/sys:
  14.  dir.h fcntl.h file.h mman.h resource.h signal.h socket.h stat.h
  15.  time.h times.h types.h wait.h
  16.  
  17. Those files are in the C library, and are C++ compatible.
  18.  
  19. These are the diffs to the src directory, mostly changes due to the
  20. case insensitive AmigaDOS (as oposed to the case sensitive Unix) :
  21.  
  22. *** BitSet.bak    Fri Mar  6 07:57:23 1992
  23. --- BitSet.cc    Sat Mar 14 16:28:02 1992
  24. ***************
  25. *** 29,35 ****
  26. --- 29,38 ----
  27.   #include <AllocRing.h>
  28.   #include <new.h>
  29.   #include <builtin.h>
  30. + #ifndef amigados
  31. + // std.h included the right file anyway ;-)
  32.   #include <string.h>
  33. + #endif
  34.   
  35.   void BitSet::error(const char* msg) const
  36.   {
  37. *** _regex.bak    Sat Mar 14 16:27:30 1992
  38. --- _regex.cc    Sat Mar 14 20:37:51 1992
  39. ***************
  40. *** 2570,2576 ****
  41.   static struct re_pattern_buffer re_comp_buf;
  42.   
  43.   char *
  44. ! re_comp (char *s)
  45.   {
  46.     if (!s)
  47.       {
  48. --- 2570,2576 ----
  49.   static struct re_pattern_buffer re_comp_buf;
  50.   
  51.   char *
  52. ! re_comp (const char *s)
  53.   {
  54.     if (!s)
  55.       {
  56. ***************
  57. *** 2591,2597 ****
  58.   }
  59.   
  60.   int
  61. ! re_exec (char *s)
  62.   {
  63.     int len = strlen (s);
  64.     return 0 <= re_search (&re_comp_buf, s, len, 0, len,
  65. --- 2591,2597 ----
  66.   }
  67.   
  68.   int
  69. ! re_exec (const char *s)
  70.   {
  71.     int len = strlen (s);
  72.     return 0 <= re_search (&re_comp_buf, s, len, 0, len,
  73. *** Regex.bak    Sat Mar 14 13:09:51 1992
  74. --- Regex.cc    Sat Mar 14 16:25:59 1992
  75. ***************
  76. *** 29,35 ****
  77. --- 29,39 ----
  78.   #include <builtin.h>
  79.   
  80.   // extern "C" {
  81. + #ifdef amigados
  82.   #include <_regex.h>
  83. + #else
  84. + #include <regex.h>
  85. + #endif
  86.   // }
  87.   
  88.   #include <Regex.h>
  89.  
  90.  
  91. I'm including the original README and WHATS.NEW files, as well as the manual
  92. to the library, libg++.texinfo.
  93.  
  94.  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  95.  
  96. iostream library: Since I didn't want stdio to be a C++ library, I
  97. didn't compile the stdio library. From this follows that you may not mix
  98. stdio C++ iostream commands whithout flushing output in between. If you
  99. don't want the ixemul.library builtin stdio, you can get the Unix iostream
  100. library and try to get C++ stdio to work, there shouldn't be any problems
  101. doing this.
  102. If you're particularly interested into iostream, you might want to 
  103. consider to look at the original distribution, there is some documentation
  104. in the iostream/ directory there.
  105.  
  106. For completeness, these are the required patches to the iostream directory:
  107.  
  108. *** sbufvform.bak    Fri Mar  6 02:09:07 1992
  109. --- sbufvform.C    Sat Mar 14 18:11:08 1992
  110. ***************
  111. *** 28,34 ****
  112. --- 28,38 ----
  113.   
  114.   #include <sys/types.h>
  115.   #include "ioprivate.h"
  116. + #ifdef amigados
  117. + #include <_string.h>
  118. + #else
  119.   #include <string.h>
  120. + #endif
  121.   #if __STDC__
  122.   #include <stdarg.h>
  123.   #else
  124. *** ioprivate.bak    Thu Feb 20 05:51:39 1992
  125. --- ioprivate.h    Sat Mar 14 18:10:15 1992
  126. ***************
  127. *** 17,23 ****
  128. --- 17,27 ----
  129.   
  130.   #include <stddef.h>
  131.   #include <stdlib.h>
  132. + #ifdef amigados
  133. + #include <_string.h>
  134. + #else
  135.   #include <string.h>
  136. + #endif
  137.   #include <unistd.h>
  138.   #include "streambuf.h"
  139.   #include <stdarg.h>
  140.  
  141.  
  142. GOOD LUCK!!
  143.  
  144. -Markus Wild
  145.  
  146.