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 >
Wrap
Text File
|
1992-03-21
|
4KB
|
146 lines
This is a binary only distribution, but there were hardly any changes anyway.
You can get the full distribution for example from prep.ai.mit.edu.
I'm including the diffs for the src/ directory below, you get all the header
files needed with my ANSI C library. The following files from the original
distribution were not needed and are thus not included:
obsolute-g++-include:
ctype.h dir.h dirent.h errno.h fcntl.h grp.h math-68881.h memory.h
netdb.h pwd.h setjmp.h signal.h stdarg.h stddef.h stdio.h stdlib.h
time.h unistd.h
obsolute-g++-include/sys:
dir.h fcntl.h file.h mman.h resource.h signal.h socket.h stat.h
time.h times.h types.h wait.h
Those files are in the C library, and are C++ compatible.
These are the diffs to the src directory, mostly changes due to the
case insensitive AmigaDOS (as oposed to the case sensitive Unix) :
*** BitSet.bak Fri Mar 6 07:57:23 1992
--- BitSet.cc Sat Mar 14 16:28:02 1992
***************
*** 29,35 ****
--- 29,38 ----
#include <AllocRing.h>
#include <new.h>
#include <builtin.h>
+ #ifndef amigados
+ // std.h included the right file anyway ;-)
#include <string.h>
+ #endif
void BitSet::error(const char* msg) const
{
*** _regex.bak Sat Mar 14 16:27:30 1992
--- _regex.cc Sat Mar 14 20:37:51 1992
***************
*** 2570,2576 ****
static struct re_pattern_buffer re_comp_buf;
char *
! re_comp (char *s)
{
if (!s)
{
--- 2570,2576 ----
static struct re_pattern_buffer re_comp_buf;
char *
! re_comp (const char *s)
{
if (!s)
{
***************
*** 2591,2597 ****
}
int
! re_exec (char *s)
{
int len = strlen (s);
return 0 <= re_search (&re_comp_buf, s, len, 0, len,
--- 2591,2597 ----
}
int
! re_exec (const char *s)
{
int len = strlen (s);
return 0 <= re_search (&re_comp_buf, s, len, 0, len,
*** Regex.bak Sat Mar 14 13:09:51 1992
--- Regex.cc Sat Mar 14 16:25:59 1992
***************
*** 29,35 ****
--- 29,39 ----
#include <builtin.h>
// extern "C" {
+ #ifdef amigados
#include <_regex.h>
+ #else
+ #include <regex.h>
+ #endif
// }
#include <Regex.h>
I'm including the original README and WHATS.NEW files, as well as the manual
to the library, libg++.texinfo.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
iostream library: Since I didn't want stdio to be a C++ library, I
didn't compile the stdio library. From this follows that you may not mix
stdio C++ iostream commands whithout flushing output in between. If you
don't want the ixemul.library builtin stdio, you can get the Unix iostream
library and try to get C++ stdio to work, there shouldn't be any problems
doing this.
If you're particularly interested into iostream, you might want to
consider to look at the original distribution, there is some documentation
in the iostream/ directory there.
For completeness, these are the required patches to the iostream directory:
*** sbufvform.bak Fri Mar 6 02:09:07 1992
--- sbufvform.C Sat Mar 14 18:11:08 1992
***************
*** 28,34 ****
--- 28,38 ----
#include <sys/types.h>
#include "ioprivate.h"
+ #ifdef amigados
+ #include <_string.h>
+ #else
#include <string.h>
+ #endif
#if __STDC__
#include <stdarg.h>
#else
*** ioprivate.bak Thu Feb 20 05:51:39 1992
--- ioprivate.h Sat Mar 14 18:10:15 1992
***************
*** 17,23 ****
--- 17,27 ----
#include <stddef.h>
#include <stdlib.h>
+ #ifdef amigados
+ #include <_string.h>
+ #else
#include <string.h>
+ #endif
#include <unistd.h>
#include "streambuf.h"
#include <stdarg.h>
GOOD LUCK!!
-Markus Wild