X-Recipient: archive-cygwin@delorie.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:mime-version:date:message-id:subject:from:to
	:content-type; q=dns; s=default; b=Vm56Ed0MC34Chkgu/qnfPHEbBVkEB
	FghbXX8UlOnrQoe8fDyyJ8LT20IhZivwd54n/gNWMItbhYoJVLriyhqOVMOo0H5w
	BI8SPimg/TO+thgXLSkpd3LVpFNM1akSSKPXEjNWYapp8nfucBmg+al5ijwuUDIy
	gsr4539k2j6LYM=
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:mime-version:date:message-id:subject:from:to
	:content-type; s=default; bh=zu4lB/ZQ/HS6HgdnxogicnT+42g=; b=B06
	x4u6fCL1yybNikdAVQ3o6XlOfHoke0LgWHWEjJ14zxYLqrRx7qmKeWTsVUzZzWTI
	guOtTF6WaJzoC/ckSAnwJE/zojYfGGxRrry1gI7dOUeavbWSPm1SoPq3pvNcx4T5
	O/Xmbexhib49+pZtlkcr0bJ4SZgFoH/4AOlfYgqg=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-lf0-f51.google.com
MIME-Version: 1.0
X-Received: by 10.25.18.71 with SMTP id h68mr9773782lfi.94.1445778181848; Sun, 25 Oct 2015 06:03:01 -0700 (PDT)
Date: Sun, 25 Oct 2015 13:03:01 +0000
Message-ID: <CAOYw7dtoYdnxoteHE1NdTEF3T1LXJfM_PFZU924maQoiPV2FEw@mail.gmail.com>
Subject: Flex package dependencies.
From: Ray Donnelly <mingw.android@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

Hi all,

I'm working on fixing some issues in crosstool-ng so that Cygwin can
be used as the build, host and/or target machines and I ran into an
issue when building binutils.

Binutils links to libfl if it finds it (though I'm not sure if it
actually uses anything from it, but that's another issue).
libfl.{la,a} and libfl.dll.{la,a} are provided by the "flex" package.
They link to libintl, but they don't depend on "libintl-devel" which
provides that library. I guess there's two options, either add the
dependency or else split flex into flex and flex-devel, making
flex-devel depend on libintl-devel.

$ cygcheck --list-package flex | grep libfl.la
/usr/lib/libfl.la

$ cat /usr/lib/libfl.la | grep intl
dependency_libs=' -lintl'

$ cygcheck --list-package libintl-devel | grep lib/libintl
/usr/lib/libintl.a
/usr/lib/libintl.dll.a

From setup.ini:
@ flex
..
requires: libintl8 m4 _update-info-dir cygwin

--

Best regards,

Ray.

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

