Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
From: Christian Weinberger <christian.weinberger@directbox.com>
Subject: Re: scponly for chrooted sftp server in cygwin
Date: Mon, 14 Feb 2005 10:43:20 +0000 (UTC)
Lines: 18
Message-ID: <loom.20050214T114102-591@post.gmane.org>
References: <42122CD7@webmail.ualberta.ca> <loom.20050210T131408-32@post.gmane.org> <loom.20050210T161019-811@post.gmane.org> <Pine.GSO.4.61.0502132251190.11283@slinky.cs.nyu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: main.gmane.org
User-Agent: Loom/3.14 (http://gmane.org/)
X-Loom-IP: 62.180.31.25 (Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.5) Gecko/20041122 Firefox/1.0)
X-Gmane-MailScanner: Found to be clean
X-Gmane-MailScanner: Found to be clean
X-MailScanner-From: goc-cygwin@m.gmane.org
X-MailScanner-To: cygwin@cygwin.com
X-IsSubscribed: yes

> > [snip]
> > and I really had to specify liberty.a manually in the Makefile:
> >
> > scponly: scponly.o helper.o
> >         ${CC} ${CFLAGS} ${DEFS} -o $ <at>  scponly.o helper.o
/usr/lib/libiberty.a
> 
> FWIW, the "approved" way of doing this is
> 
> 	${CC} ${CFLAGS} ${DEFS} -o $ <at>  scponly.o helper.o -L/usr/lib -liberty
> 
> HTH,
> 	Igor

Thank you Igor!

I was quite sure that my solution was a bit crappy.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

