Followup to: <061f01c0c3d8$c34e8870$[EMAIL PROTECTED]>
By author: "David E. Weekly" <[EMAIL PROTECTED]>
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
--
<[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/