On Sun, Jan 27, 2002 at 12:17:03PM -0800, y z wrote: > Hi, > > 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 > information: > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5 > /../../../../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 -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/