OK, I found out how to make configure use gcc and accordingly I did
this:
# ./configure --with-gcc --enable-shared --prefix=/usr/local/mysql
Then I ran make which went for a while and gave me this:
/bin/sh ../libtool --mode=compile gcc -DUNDEF_THREADS_HACK
-I./../include -I../include -I./.. -I.. -I..
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6
-DDBUG_OFF -c my_alloc.c
gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I..
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6
-DDBUG_OFF -c my_alloc.c -o my_alloc.o
echo timestamp > my_alloc.lo
/bin/sh ../libtool --mode=compile gcc -DUNDEF_THREADS_HACK
-I./../include -I../include -I./.. -I.. -I..
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6
-DDBUG_OFF -c getopt.c
gcc -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I..
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6
-DDBUG_OFF -c getopt.c -o getopt.o
In file included from /usr/include/sys/socket.h:67,
from ../include/global.h:281,
from getopt.c:49:
/usr/include/sys/uio.h:178: macro `readv' used without args
/usr/include/sys/uio.h:179: macro `writev' used without args
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
--
Irvine Short
Sys Admin
SANBI, University of the Western Cape, South Africa
http://www.sanbi.ac.za
tel: +27-21-959 3645
fax: +27-21-959 2512
cel: +27-82-494 3828
Received on Fri Aug 25 2000 - 12:06:50 NZST