List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:August 17 2004 6:10pm
Subject:Re: Statically compiling the API
View as plain text  
Vishal Kothari wrote:
> 
> But my problem isn't how to build that static version of the mysql c++ api 
> but how do I statically link that libmysqlpp.a or libsqlplus.a file with my
> application. 

With only the static library installed, you will have no choice but to 
link statically.

	gcc myprog.o -lmysqlpp -o myprog

Very simple.
Thread
Re: Re: Statically compiling the APIVishal Kothari17 Aug
  • Re: Statically compiling the APIWarren Young17 Aug
Re: Re: Statically compiling the APIVishal Kothari17 Aug
  • Re: Statically compiling the APIWarren Young17 Aug