This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: guile's pkg-config script has incorrect flags and libs
- From: Marco Atzeri <marco dot atzeri at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 20 Sep 2014 21:16:57 +0200
- Subject: Re: guile's pkg-config script has incorrect flags and libs
- Authentication-results: sourceware.org; auth=none
- References: <1411226163 dot 51514 dot YahooMailNeo at web120402 dot mail dot ne1 dot yahoo dot com>
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