All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-kernel@vger.kernel.org
Subject: Re: Yacc in 2.4.3 causes kernel compile to fail (aicasm_gram.y)
Date: 13 Apr 2001 12:38:04 -0700	[thread overview]
Message-ID: <9b7kis$f1h$1@cesium.transmeta.com> (raw)
In-Reply-To: <061f01c0c3d8$c34e8870$5c044589@legato.com>

Followup to:  <061f01c0c3d8$c34e8870$5c044589@legato.com>
By author:    "David E. Weekly" <dweekly@legato.com>
In newsgroup: linux.dev.kernel
> 
> This is the first time I remember seeing a Yacc file in the Linux kernel
> source code, but I'm young and stupid.
> 
> Since the default Makefile mapping for .y files is to call yacc, and since I
> have bison on my system instead, compiling the aic7xxx code into 2.4.3 broke
> my build.
> 

It's a good idea if you have bison installed to have a /usr/bin/yacc
containing:

	#!/bin/sh -
	exec bison -y "$@"

I think there is a reasonably good expectation that the command "yacc"
should do what is expected, without needing any special hacks for
bison -- unless, of course, you're using bison special features.

	-hpa
-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt

      parent reply	other threads:[~2001-04-13 19:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-13  5:15 Yacc in 2.4.3 causes kernel compile to fail (aicasm_gram.y) David E. Weekly
2001-04-13 12:51 ` Alan Cox
2001-04-13 19:38 ` H. Peter Anvin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='9b7kis$f1h$1@cesium.transmeta.com' \
    --to=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.