On Tue, Mar 07, 2000 at 07:43:10PM +0200, Uri Even-Chen wrote:
>Sinisa,
>
>1. This issue is so complicated. I talked to a Linux expert today, and
>he said that installing GCC from a tar.gz file (we downloaded
>gcc-2.95.2.tar.gz) is a big headache. do you know if & where I can find
>RPM files for installing gcc 2.95.2, and also the relevant libstdc++
>files? my system is a standard red hat linux 6.1 (for i686), which came
>together with GCC too. what is the reason why this version of GCC &
>libstdc++ can't work together with mySQL++?
You can find lots of RPMs at http://rpmfind.net/linux/RPM/. I'm
not sure exactly which one you need, but I think this RPM should
work for you:
http://rpmfind.net/linux/RPM/rawhide/1.0/i386/RedHat/RPMS/gcc-c++-2.95.2-3.i386.html
>2. if not, is it possible to work with mySQL using only C API (not C++)?
>if so, how do I install & use the C API for mySQL? it's very important
>for me to use mySQL, and I have spent so many hours & money to try to
>make it work. it's still not working, and I want to start using it as
>soon as possible.
Yes, you can use the C API; it will probably be easier to get working
with your compiler tools, since C++ has been changing much more than
C. You can look at the example programs in the client/ directory of
the MySQL source distribution. They show how to connect, insert,
select, etc. Look especially at insert_test.c and select_test.c.
Tim
--
Tim Smith < tim@stripped > :MySQL Development Team: Boone, NC USA.