Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: From: Heribert Dahms To: "'Stipe Tolj'" , Scr34m Cc: Cygwin Subject: RE: Mysql Date: Fri, 5 Oct 2001 00:19:23 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain or leave out -c if you want compile and link in one step! Bye, Heribert (heribert_dahms AT icon-gmbh DOT de) > -----Original Message----- > From: Stipe Tolj [SMTP:tolj AT wapme-systems DOT 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/