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


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/


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