delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/21/12:08:54

Date: Thu, 21 Oct 1999 14:09:49 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Michael Fischer <fischerm AT my-deja DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: easy linking question
In-Reply-To: <7um1lr$8gu$1@nnrp1.deja.com>
Message-ID: <Pine.SUN.3.91.991021140933.2684Q-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 21 Oct 1999, Michael Fischer wrote:

> I am using flex and bison that came with djgpp and cannot figure out
> which library to link for bison.  I know that the -lfl is for flex.
> Anyone know what to link for bison?  There is no lib file in the
> package.

Correct.  Unlike Yacc, Bison doesn't need a library.

> My basic problem is the yyerror() is undefined and I get a compile
> error if I do not generate a generic one for myself.

This is explained in the Bison manual: you must provide yyerror
yourself.  There is a trivial version in the manual, in the node
"Error Reporting", if you don't have anytrhing special to put into
yyerror.

- Raw text -


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