This is the mail archive of the
mailing list for the Cygwin project.
Re: cannot find -ly?
On Sun, Jan 27, 2002 at 12:17:03PM -0800, y z wrote:
> I want to compile with GCC in combination with FLEX
> and BISON. I have already got lex.yy.c and y.tab.c,
> but when I compiled with the following command: gcc
> y.tab.c -ll -ly, it always shows an error
> /../../../../i686-pc-cygwin/bin/ld: cannot find -ll
> collect2: ld returned 1 exit status
> I don't know why it cannot find -ll and -ly.
> who knows how to resolve this problem?
Typically you don't need them. There's no such thing as a liby.a
for bison and there's a substitute for libl.a called libfl.a but
you should try linking without it. Just write your own main()
and yywrap() functions.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:firstname.lastname@example.org
Red Hat, Inc.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html