www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/01/13:15:25

Date: Mon, 1 Jun 1998 20:15:13 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Deity <deity AT weirdness DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Help bison & flex compiling
In-Reply-To: <35721A34.1C43C826@weirdness.com>
Message-ID: <Pine.SUN.3.91.980601201401.16341V-100000@is>
MIME-Version: 1.0

On Mon, 1 Jun 1998, Deity wrote:

> gcc -o blah y.tab.c lex.yy.c -ly -lfl
> will also do what I want.
> My main problem is that the gcc command will not work in dos/win95 or
> environment. Is there a special command for linking the bison library?
> gcc will noty recognize the -ly.

Just omit -ly and everything should compile and link.  Bison doesn't need 
the liby.a library.  If you get unresolved externals, please report them.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019