From: Warren Young Date: August 17 2004 6:10pm Subject: Re: Statically compiling the API List-Archive: http://lists.mysql.com/plusplus/3348 Message-Id: <41224A2F.2080904@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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.