Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!caen!ox.com!emv From: bill@cs.columbia.edu (Bill Schilit) Newsgroups: comp.archives Subject: [mach...] g++ for i386 Mach 2.5 available Message-ID: <1991Mar6.012455.14677@ox.com> Date: 6 Mar 91 01:24:55 GMT References: <1991Mar5.182326.18444@cs.columbia.edu> Sender: emv@ox.com (Edward Vielmetti) Reply-To: bill@cs.columbia.edu (Bill Schilit) Followup-To: comp.os.mach, gnu.g++.help Organization: Columbia University Department of Computer Science Lines: 32 Approved: emv@ox.com (Edward Vielmetti) X-Original-Newsgroups: comp.os.mach, gnu.g++.help Archive-name: gnu/g++/mach-386-g++/1991-03-05 Archive: cs.columbia.edu:/pub/bill/mach-* [128.59.16.20] Original-posting-by: bill@cs.columbia.edu (Bill Schilit) Original-subject: g++ for i386 Mach 2.5 available Reposted-by: emv@ox.com (Edward Vielmetti) 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 (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 " 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