delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/08/16:29: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://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <3.0.5.32.20011208162816.0082ea00@pop.ne.mediaone.net>
X-Sender: phumblet AT pop DOT ne DOT mediaone DOT net (Unverified)
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32)
Date: Sat, 08 Dec 2001 16:28:16 -0500
To: cygwin AT cygwin DOT com
From: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
Subject: Problem with "perl -MExtUtils::Embed -e ldopts"
Mime-Version: 1.0

I have a package that uses perl itself to configure a makefile to
use perl libraries. The command and its output are
 
> perl  -MExtUtils::Embed -e ldopts
Note (probably harmless): No library found for -lperl
 -s  -s -L/usr/local/lib
/usr/lib/perl5/5.6.1/cygwin-multi/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl5/5.6.1/cygwin-multi/CORE -lcrypt

3 observations:
1) The "harmless note" suggests that the perl library is not where expected.
   Should it be -lperl5_6_1 or is there a missing link? 
2) The -s causes the linker to drop the symbol table [when the command 
   output is blindly used in a makefile]. Not nice while debugging!
3) why list /usr/local/lib?

While not a show stopper, can this be fixed in future releases? 
Thanks.

Pierre


--
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