Re: Compiling with the C API

2003-06-26 Thread Paul DuBois
At 6:32 -0400 6/26/03, Andrew Pierce wrote: I have a question regarding compiling a C program with the mysql C api. From the documentation, the only way I really see explained for compiling is a shell script that looks like this: CFG=/usr/bin/mysql_config sh -c "gcc -o $1 `$CFG --cflags` $1.c `$CF

Compiling with the C API

2003-06-26 Thread Andrew Pierce
I have a question regarding compiling a C program with the mysql C api. >From the documentation, the only way I really see explained for compiling is a shell script that looks like this: CFG=/usr/bin/mysql_config sh -c "gcc -o $1 `$CFG --cflags` $1.c `$CFG --libs`" This works great when all my so