Subject: RE: Mysql
From: Heribert Dahms <[email-masked]>
To: "'Stipe Tolj'" <[email-masked]>, Scr34m <[email-masked]>
Cc: Cygwin <[email-masked]>
Date: Fri, 5 Oct 2001 00:19:23 +0200

or leave out -c if you want compile and link in one step!

Bye, Heribert ([email-masked])

> -----Original Message-----
> From:	Stipe Tolj [SMTP:[email-masked]]
> 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/