delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/02/14/05:47:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
From: Christian Weinberger <christian DOT weinberger AT directbox DOT 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 AT webmail DOT ualberta DOT ca> <loom DOT 20050210T131408-32 AT post DOT gmane DOT org> <loom DOT 20050210T161019-811 AT post DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 61 DOT 0502132251190 DOT 11283 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT 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 AT m DOT gmane DOT org
X-MailScanner-To: cygwin AT cygwin DOT 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/

- Raw text -


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