This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: Mysql
- To: 'Stipe Tolj' <tolj at wapme-systems dot de>, Scr34m <scr34m at frontember dot hu>
- Subject: RE: Mysql
- From: Heribert Dahms <heribert_dahms at icon-scm dot com>
- Date: Fri, 5 Oct 2001 00:19:23 +0200
- Cc: Cygwin <cygwin at cygwin dot com>
or leave out -c if you want compile and link in one step!
Bye, Heribert (heribert_dahms@icon-gmbh.de)
> -----Original Message-----
> From: Stipe Tolj [SMTP:tolj@wapme-systems.de]
> Sent: Sunday, September 30, 2001 19:29
> To: Scr34m
> Cc: Cygwin
> Subject: 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
>
[Heribert] [snip]
--
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/