delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/09/20/15:17:29

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=XlxzKFEBtXS6oUQH5Ei99/M034vk2Uweqmm5cgu1H/J
jwntSlHOA+J8s+WgF5TudXh5P7mxomkJwEJD6w6/9DUvsR0akt/OM7TAO9CLRtJQ
gUbqxtppcKi6ZfKRSzN2jx7dooZUxKJdstIGDm4zp7p+Qwg0/E4CiEHKxn7Bvwu0
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=gXUKixJFcue6EQRY0DT/3KzaegU=; b=O+IK6k26ue4gZeKe1
QnIIJYPt8Zrg9t/UoMkROaoAJuZ4/Sx7gKrgFWDSueWnyhb2Mb/p1z3vsCbBn6rq
fDCVwZ4/xAimCxIdvWNN2p9/EkY3fSC/so4mWJ6dsxmDCRb5umLJM1K8Lf4psjfm
c0M37+EqPTqhZ8gYLtx40SsZCs=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-lb0-f177.google.com
X-Received: by 10.112.134.101 with SMTP id pj5mr14041776lbb.47.1411240628065; Sat, 20 Sep 2014 12:17:08 -0700 (PDT)
Message-ID: <541DD2A9.7050900@gmail.com>
Date: Sat, 20 Sep 2014 21:16:57 +0200
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: guile's pkg-config script has incorrect flags and libs
References: <1411226163 DOT 51514 DOT YahooMailNeo AT web120402 DOT mail DOT ne1 DOT yahoo DOT com>
In-Reply-To: <1411226163.51514.YahooMailNeo@web120402.mail.ne1.yahoo.com>
X-IsSubscribed: yes


On 20/09/2014 17:16, Mike Gran wrote:
> Guile is a scheme interpreter that comes with Cygwin.
>
> The guile-devel package provides information to pkg-config
> about the required flags and libs necessary to link a Guile
> interpreter to another program.
>
> The pkg-config information is wrong.
>
> pkg-config guile-1.8 --cflags gives
>    -I/home/janneke/vc/gub/target/cygwin/root/usr/include
>
> it should probably be return nothing, or be returning
> "-I/usr/include"
>
> pkg-config guile-1.8 --libs returns
>    -L/home/janneke/vc/gub/target/cygwin/root/usr/lib \
>    -L/home/janneke/vc/gub/target/cygwin/root/usr/bin \
>    -L/home/janneke/vc/gub/target/cygwin/root/usr/lib/w32api \
>    -lguile -lgmp -lcrypt -lm -lltdl
>
> It should probably be returning just
>     -lguile -lgmp -lcrypt -lm -lltdl
>
> Thanks,
>
> Mike Gran

the problem is present only on 32bit

On 64 bit:

$ pkg-config guile-1.8 --cflags
-I/usr/include/guile/1.8

$ pkg-config guile-1.8 --libs
-lguile -lgmp -lcrypt -lm -lltdl

Marco



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

- Raw text -


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