bill@cs.columbia.edu (Bill Schilit) (03/06/91)
I've installed g++ and libg++ 1.37.1 on my Mach 2.5 i386 system and am making a binary distribution along with the changes available by anonymous ftp from host cs.columbia.edu directory pub/bill/mach-* A newer version of g++ (1.39) is available from the gnu project but does not have a working debugger. The first bug I found occurs when g++ includes <mach.h> (and all those files included therein). The structure definition for i387_env in file i386/fpreg.h uses unnamed bitfields of type u_int. This gets a parse error under g++ (but works with gcc). A workaround is to "#include <sys/types.h>" then "#define u_int unsigned int" before including mach.h. I'm interested in hearing from other people using g++ under Mach. Bill Schilit Department of Computer Science Columbia University 500 West 120th St. Room 450 New York, N.Y. 10027 -- Bill Schilit Columbia University Computer Science Department bill@cs.columbia.edu