Thanks, but allow me to clarify my problem - like you, I don't have a
problem with gcc or compiling MySQL. Running mysql seems to work fine. The
problem is only with MySQL++ and how gcc handles exceptions. If you have a
chance, could you try compiling MySQL++ and running one of their examples?
For me, even resetdb just Aborts.
----- Original Message -----
From: "Victor" <victord@stripped>
To: "André Schoorl" <andre@stripped>; "MySQL List"
Sent: Friday, September 01, 2000 3:07 PM
Subject: Re: Solaris 8 and gcc
> This site has 2.95.2 package for every solaris 2.x version.
> just do gunzip < GNUgcc_blahblah.tgz | tar xvf -
> then just do pkgadd -d . GNUgcc
> I used the package and built MySQL 2.23.22 without a problem. I haven't
tried mySQL++ though (and I was using solaris 2.7).
> André Schoorl wrote:
> > I'm having a considerable trouble getting mySQL++ to work under Solaris
8. I read in the README that gcc 2.95.2 has known problems with exceptions,
so I tried egcs-20000306 but still had no luck (both from
www.sunfreeware.com). My program just aborts.
> > I also just tried compiling gcc 2.95 (Jul. 29, 2000 release) myself,
with --enable-threads and then passing -pthreads on the compiler command
line, but I'm still not getting anywhere. Does anyone know how to work
around this, or know of a binary download available? mySQL itself seems to
be working OK.
> > Thanks in advance.
> > -- André