Re: Confused with GCC

2001-03-02 Thread Terry Babbey
# find /usr -name gcc /usr/local/bin/gcc # echo $PATH /sbin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/bin/X11:/usr/local:/usr/local/bin It seems to find gcc for the CC compiler though, and that part of the configure works. "Matthew P. Marino" wrote: > OK. Much better. The configure can't find gcc.

Re: Confused with GCC

2001-03-02 Thread Terry Babbey
g++ works in the configure stage, but then when I do the gnumake using g++ I get the following error: g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local/mysql \"" -DDATADIR="\"/usr/local/mysql/var\"" - DSHAREDIR="\"/usr/local/mysql/sha

Re: Confused with GCC

2001-03-02 Thread Peter Pentchev
On Fri, Mar 02, 2001 at 11:30:31AM -0500, Terry Babbey wrote: > Here is my configure statement and the generated error message ( I am using > GCC2.95.2): > > CC="gcc" CXX="gcc" ./configure --prefix=/usr/local/mysql Have you tried CXX="g++"? The C++ compiler of the GNU Compiler Suite is g++, you

Re: Confused with GCC

2001-03-02 Thread Terry Babbey
Here is my configure statement and the generated error message ( I am using GCC2.95.2): CC="gcc" CXX="gcc" ./configure --prefix=/usr/local/mysql checking whether the C++ compiler (gcc ) works... no configure: error: installation or configuration problem: C++ compiler cannot cre ate executables

Confused with GCC

2001-03-02 Thread Terry Babbey
I notice some of you compile with gcc as you C-compiler (CC) and C++-compiler (CXX). Configure generates an error message for me when I try to do this. Can anyone help me with this? Thanks, Terry -- __ Terry Babbey Technical Support