public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Flex package dependencies.
@ 2015-10-25 16:50 Ray Donnelly
  0 siblings, 0 replies; only message in thread
From: Ray Donnelly @ 2015-10-25 16:50 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-10-25 13:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-25 16:50 Flex package dependencies Ray Donnelly

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).