Re: Bison

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/01/11 06:24, John Calcote wrote:
On 01/11/2011 04:31 AM, Russell Shaw wrote:
Hi,
On debian, there is /usr/bin/bison, and
/usr/bin/bison.yacc just does:

   exec '/usr/bin/bison' -y "$@"

How can i get autoconf to use bison?

The problem with yacc is that you can't rename
the output files and always get: y.tab.h y.tab.c

Is there a way i can get yacc to give better output
file names like myproj.tab.h myproj.tab.c ?

Hi Russell - try the techniques listed here:
http://www.mail-archive.com/help-bison@xxxxxxx/msg01897.html

Hi J.C,
It's close to what i'm looking for, but not complete enough.
I'm not good at autoconf stuff. Why is descriptor "5" used?

ac_compile_yacc='$CC -c $CFLAGS $CPPFLAGS $ac_cv_prog_yacc_root.c >&5'

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux