delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/04/18:19:18

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <BF35D9C143BCCC4EB63181B67C9320C804DE72@serv-075.icon-germany.local>
From: Heribert Dahms <heribert_dahms AT icon-scm DOT com>
To: "'Stipe Tolj'" <tolj AT wapme-systems DOT de>, Scr34m <scr34m AT frontember DOT hu>
Cc: Cygwin <cygwin AT cygwin DOT com>
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)

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019