This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Mysql


> $ gcc -o mysql -c mysql.c -L/usr/local/lib/mysql -lmysqlclient
> gcc: -lmysqlclient: linker input file unused since linking not done

you may first compile and then link, i.e.

  $ gcc -o foo.o -c foo.c
  $ gcc -o foo.exe foo.o -L/usr/local/lib/mysql -lmysqlclient

Stipe

> What can i do whit MySQL++ there are one patch for cygwin but i can't
> applie it to mysql++ :(
> 
> mysql++-1.7.9.tar.gz
> mysql++-gcc-3.0.patch.gz

don't know what they are for.

Stipe

tolj@wapme-systems.de
-------------------------------------------------------------------
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: info@wapme-systems.de
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]